D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
WIN32OLE
/
Variant
/
Filename :
cdesc-Variant.ri
back
Copy
U:RDoc::NormalClass[iI"Variant:ETI"WIN32OLE::Variant;TI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"8+WIN32OLE::Variant+ objects represents OLE variant.;To:RDoc::Markup::BlankLine o; ;[ I"GWin32OLE converts Ruby object into OLE variant automatically when ;TI"Hinvoking OLE methods. If OLE method requires the argument which is ;TI"Idifferent from the variant by automatic conversion of Win32OLE, you ;TI"Mcan convert the specified variant type by using WIN32OLE::Variant class.;T@o:RDoc::Markup::Verbatim;[I"Aparam = WIN32OLE::Variant.new(10, WIN32OLE::VARIANT::VT_R4) ;TI"oleobj.method(param) ;T:@format0o; ;[I"PWIN32OLE::Variant does not support VT_RECORD variant. Use WIN32OLE::Record ;TI"Kclass instead of WIN32OLE::Variant if the VT_RECORD variant is needed.;T: @fileI"$ext/win32ole/win32ole_variant.c;T:0@omit_headings_from_table_of_contents_below0; 0;0[ [ U:RDoc::Constant[i I" Empty;TI"WIN32OLE::Variant::Empty;T:public0o;;[o; ;[I"$represents VT_EMPTY OLE object.;T; @ ;0@ @cRDoc::NormalClass0U;[i I" Null;TI"WIN32OLE::Variant::Null;T;0o;;[o; ;[I"#represents VT_NULL OLE object.;T; @ ;0@ @@,0U;[i I"Nothing;TI"WIN32OLE::Variant::Nothing;T;0o;;[o; ;[I"(represents Nothing of VB.NET or VB.;T; @ ;0@ @@,0U;[i I"NoParam;TI"WIN32OLE::Variant::NoParam;T;0o;;[o; ;[I"<represents VT_ERROR variant with DISP_E_PARAMNOTFOUND. ;TI"8This constants is used for not specified parameter.;T@o;;[I"6fso = WIN32OLE.new("Scripting.FileSystemObject") ;TI"Bfso.openTextFile(filename, WIN32OLE::Variant::NoParam, false);T;0; @ ;0@ @@,0[ [[I" class;T[[;[[I" array;TI"$ext/win32ole/win32ole_variant.c;T[I"new;T@V[:protected[ [:private[ [I" instance;T[[;[ [I"[];T@V[I"[]=;T@V[I" value;T@V[I"value=;T@V[I"vartype;T@V[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[I"ext/win32ole/win32ole.c;TI" WIN32OLE;T@,