类 OLEProperty
OLEProperty
是 Property 的辅助类,带有参数。
公共类方法
new(obj, dispid, gettypes, settypes) 点击切换源代码
# File ext/win32ole/lib/win32ole/property.rb, line 5 def initialize(obj, dispid, gettypes, settypes) @obj = obj @dispid = dispid @gettypes = gettypes @settypes = settypes end
公共实例方法
[](*args) 点击切换源代码
# File ext/win32ole/lib/win32ole/property.rb, line 11 def [](*args) @obj._getproperty(@dispid, args, @gettypes) end
[]=(*args) 点击切换源代码
# File ext/win32ole/lib/win32ole/property.rb, line 14 def []=(*args) @obj._setproperty(@dispid, args, @settypes) end