PATH:
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
WIN32OLE
/
Variant
U:RDoc::AnyMethod[iI"value=:ETI"WIN32OLE::Variant#value=;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"MSets variant value to val. If the val type does not match variant value ;TI"Mtype(vartype), then val is changed to match variant value type(vartype) ;TI"before setting val. ;TI"TThis method is not available when vartype is VT_ARRAY(except VT_UI1|VT_ARRAY). ;TI"HIf the vartype is VT_UI1|VT_ARRAY, the val should be String object.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"Nobj = WIN32OLE::Variant.new(1) # obj.vartype is WIN32OLE::VARIANT::VT_I4 ;TI"?obj.value = 3.2 # 3.2 is changed to 3 when setting value. ;TI"p obj.value # => 3;T:@format0: @fileI"$ext/win32ole/win32ole_variant.c;T:0@omit_headings_from_table_of_contents_below0I"Avariant.value = val #=> set WIN32OLE::Variant value to val. ;T0[ I" (p1);T@FI"Variant;TcRDoc::NormalClass00
[-] cdesc-Variant.ri
[edit]
[-] %5b%5d%3d-i.ri
[edit]
[-] value%3d-i.ri
[edit]
[-] new-c.ri
[edit]
[-] array-c.ri
[edit]
[-] %5b%5d-i.ri
[edit]
[+]
..
[-] value-i.ri
[edit]
[-] vartype-i.ri
[edit]