Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
WIN32OLE_RECORD
/
//opt/alt/ruby27/share/ri/system/WIN32OLE_RECORD/ole_instance_variable_get-i.ri
U:RDoc::AnyMethod[iI"ole_instance_variable_get:ETI".WIN32OLE_RECORD#ole_instance_variable_get;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"IReturns value specified by the member name of VT_RECORD OLE object. ;TI"FIf the member name is not correct, KeyError exception is raised. ;TI"KIf you can't access member variable of VT_RECORD OLE object directly, ;TI"use this method.;To:RDoc::Markup::BlankLine o; ; [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 ComObject ;TI"( Public object_id As Ineger ;TI" End Structure ;TI"End Class ;T:@format0o; ; [I"/and Ruby Object class has title attribute:;T@o; ; [I"Ithen accessing object_id of ComObject from Ruby is as the following:;T@o;; [ I"0srver = WIN32OLE.new('ComServer.ComClass') ;TI"4obj = WIN32OLE_RECORD.new('ComObject', server) ;TI"3# obj.object_id returns Ruby Object#object_id ;TI"7obj.ole_instance_variable_get(:object_id) # => nil;T; 0: @fileI"#ext/win32ole/win32ole_record.c;T:0@omit_headings_from_table_of_contents_below0I"5WIN32OLE_RECORD#ole_instance_variable_get(name) ;T0[ I" (p1);T@)FI"WIN32OLE_RECORD;TcRDoc::NormalClass00