るりまサーチ (Ruby 2.1.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.093秒)
トップページ > バージョン:2.1.0[x] > クエリ:String[x] > クエリ:h[x] > クエリ:event_interface[x]

別のキーワード

  1. _builtin to_h
  2. struct to_h
  3. enumerable to_h
  4. array to_h
  5. openstruct to_h

ライブラリ

クラス

検索結果

WIN32OLE_METHOD#event_interface -> String | nil (63625.0)

メソッドがイベントの場合、イベントのインターフェイス名を取得します。

メソッドがイベントの場合、イベントのインターフェイス名を取得します。

@return メソッドがイベントであれば、イベントのインターフェイス名を返し
ます。イベントでなければnilを返します。

tobj = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'Workbook')
method = WIN32OLE_METHOD.new(tobj, 'SheetActivate')
puts method.event_interface # => WorkbookEvents