superclass=Object
type=class
library=win32ole
extended=
included=

OLEȥ᡼ѿRubyǻȤ뤿Υ饹Ǥ

OLEȥ᡼󥵡Фϡ[[m:WIN32OLE.const_load]]ˡ᥽å/ץѥƥ[[c:WIN32OLE_METHOD]]ˡ٥ȡ[[c:WIN32OLE_EVENT]]ˤΤۤѿ򥯥饤Ȥ󶡤ǤޤWIN32OLE_VARIABLE饹ϡФ󶡤ѿξ򥪥֥ȲޤѿˤCOMǷ줿¤Τ桼ΥեɾʤɤޤǤɤѤΤenum󷿡ˤΥоǤenumΥФȤѤǤޤ

WIN32OLE_VARIABLEΥ֥Ȥϡ[[m:WIN32OLE_TYPE#variables]]᥽åɤѤƼޤ

=== ץ륳

   require 'win32ole'

   tobj = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'XlSheetType')
   variables = tobj.variables
   variables.each do |variable|
     puts "#{variable.name}=#{variable.value}"
   end

¹Է̤ϰʲȤʤޤ

 xlChart=-4109
 xlDialogSheet=-4116
 xlExcel4IntlMacroSheet=4
 xlExcel4MacroSheet=3
 xlWorksheet=-4167

@see [[m:WIN32OLE_TYPE#variables]]
