instance method WIN32OLE_VARIABLE#name
name -> Stringto_s -> String-
変数名を取得します。
- [RETURN]
- 変数名を文字列で返します。
tobj = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'XlSheetType') variables = tobj.variables variables.each do |variable| puts "#{variable.name}" # => xlChart, xlDialogSheet, ... end
class WIN32OLE_VARIABLE