U:RDoc::AnyMethod[iI"ole_instance_variable_set:ETI".WIN32OLE_RECORD#ole_instance_variable_set;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [ I"FSets value specified by the member name of VT_RECORD OLE object. ;TI"FIf the member name is not correct, KeyError exception is raised. ;TI"HIf you can't set value of member of VT_RECORD OLE object directly, ;TI"use this method.;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"+ _ ;TI" Public title As String ;TI" Public cost As Integer ;TI"End Class ;T: @format0o; ; [I">then setting value of the `title' member is as following:;T@o; ; [I"0srver = WIN32OLE.new('ComServer.ComClass') ;TI"/obj = WIN32OLE_RECORD.new('Book', server) ;TI";obj.ole_instance_variable_set(:title, "The Ruby Book");T; 0: @fileI"#ext/win32ole/win32ole_record.c;T:0@omit_headings_from_table_of_contents_below0I":WIN32OLE_RECORD#ole_instance_variable_set(name, val) ;T0[I" (p1, p2);T@%FI"WIN32OLE_RECORD;TcRDoc::NormalClass00