Defines the callback of event. If you want modify argument in callback, you could use this method instead of WIN32OLE_EVENT#on_event.
ie = WIN32OLE.new('InternetExplorer.Application') ev = WIN32OLE_EVENT.new(ie) ev.on_event_with_outargs('BeforeNavigate2') {|*args| args.last[6] = true }
Sets value specified by the member name of VT_RECORD OLE object. If the member name is not correct, KeyError
exception is raised. If you can’t set value of member of VT_RECORD OLE object directly, use this method.
If COM server in VB.NET ComServer project is the following:
Imports System.Runtime.InteropServices Public Class ComClass <MarshalAs(UnmanagedType.BStr)> _ Public title As String Public cost As Integer End Class
then setting value of the ‘title’ member is as following:
srver = WIN32OLE.new('ComServer.ComClass') obj = WIN32OLE_RECORD.new('Book', server) obj.ole_instance_variable_set(:title, "The Ruby Book")
Compile a ConstantPathNode
node
Compile a ConstantTargetNode
node
Compile a FindPatternNode
node
Compile a ForwardingSuperNode
node
Compile a HashPatternNode
node
Compile a MultiTargetNode
node
Compile a PinnedExpressionNode
node
Dispatch enter and leave events for ConstantPathNode
nodes and continue walking the tree.
Dispatch enter and leave events for ConstantTargetNode
nodes and continue walking the tree.
Dispatch enter and leave events for FindPatternNode
nodes and continue walking the tree.
Dispatch enter and leave events for ForwardingArgumentsNode
nodes and continue walking the tree.
Dispatch enter and leave events for ForwardingSuperNode
nodes and continue walking the tree.
Dispatch enter and leave events for HashPatternNode
nodes and continue walking the tree.
Dispatch enter and leave events for MultiTargetNode
nodes and continue walking the tree.
Dispatch enter and leave events for PinnedExpressionNode
nodes and continue walking the tree.