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