96件ヒット
[1-96件を表示]
(0.029秒)
ライブラリ
- ビルトイン (12)
-
win32
/ registry (72) - win32ole (12)
クラス
- Module (12)
- WIN32OLE (12)
-
Win32
:: Registry (72)
キーワード
-
const
_ load (12) - create (24)
- new (24)
- open (24)
検索結果
先頭5件
- Module
. constants -> [Symbol] - WIN32OLE
. const _ load(ole , mod = WIN32OLE) -> () - Win32
:: Registry . create(key , subkey , desired = KEY _ ALL _ ACCESS , opt = REG _ OPTION _ RESERVED) - Win32
:: Registry . create(key , subkey , desired = KEY _ ALL _ ACCESS , opt = REG _ OPTION _ RESERVED) {|reg| . . . } - Win32
:: Registry . new(key , subkey , desired = KEY _ READ , opt = REG _ OPTION _ RESERVED)
-
Module
. constants -> [Symbol] (24214.0) -
このメソッドを呼び出した時点で参照可能な定数名の配列を返します。
...配列を返します。
//emlist[例][ruby]{
class C
FOO = 1
end
p Module.constants # => [:RUBY_PLATFORM, :STDIN, ..., :C, ...]
# 出力中に :FOO は現われない
//}
@see Module#constants, Kernel.#local_variables, Kernel.#global_variables, Object#instance_variables,... -
WIN32OLE
. const _ load(ole , mod = WIN32OLE) -> () (6113.0) -
OLEオートメーションサーバが保持する定数を読み込み、指定されたモジュール に組み込みます。
...されたモジュール
に組み込みます。
OLEオートメーションサーバは、定数をクライアントへ提供できます。
const_loadメソッドはこれらの定数を読み込み、指定したモジュールに組み込
むことで参照可能とします。
@param ole......、vbConstantsの
ように小文字で始まります。しかし、Rubyの定数は大文字で開始する規則のた
め、WIN32OLEによってVbConstantsのように自動的に先頭が大文字化されます。
また、先頭が英字で始まらない定数については、CONSTANTSハ......module EXCEL_CONST
end
excel = WIN32OLE.new('Excel.Application')
WIN32OLE.const_load(excel, EXCEL_CONST)
puts EXCEL_CONST::XlTop # => -4160
puts EXCEL_CONST::CONSTANTS['_xlDialogChartSourceData'] # => 541
モジュール名を省略した例
WIN32OLE.const_load(excel)
p... -
Win32
:: Registry . create(key , subkey , desired = KEY _ ALL _ ACCESS , opt = REG _ OPTION _ RESERVED) (107.0) -
@todo
...を Win32::Registry オブジェクトで指定します。
親のキーには定義済キー HKEY_* を使用できます (⇒Win32::Registry::Constants)
サブキーが既に存在していればキーはただ開かれ,Win32::Registry#created?
メソッドが false を返します。
ブロ... -
Win32
:: Registry . create(key , subkey , desired = KEY _ ALL _ ACCESS , opt = REG _ OPTION _ RESERVED) {|reg| . . . } (107.0) -
@todo
...を Win32::Registry オブジェクトで指定します。
親のキーには定義済キー HKEY_* を使用できます (⇒Win32::Registry::Constants)
サブキーが既に存在していればキーはただ開かれ,Win32::Registry#created?
メソッドが false を返します。
ブロ... -
Win32
:: Registry . new(key , subkey , desired = KEY _ READ , opt = REG _ OPTION _ RESERVED) (107.0) -
@todo
...を Win32::Registry オブジェクトで指定します。
親のキーには定義済キー HKEY_* を使用できます (⇒Win32::Registry::Constants)
desired はアクセスマスクです。opt はキーのオプションです。
詳細は以下の MSDN Library を参照してください。... -
Win32
:: Registry . new(key , subkey , desired = KEY _ READ , opt = REG _ OPTION _ RESERVED) {|reg| . . . } (107.0) -
@todo
...を Win32::Registry オブジェクトで指定します。
親のキーには定義済キー HKEY_* を使用できます (⇒Win32::Registry::Constants)
desired はアクセスマスクです。opt はキーのオプションです。
詳細は以下の MSDN Library を参照してください。... -
Win32
:: Registry . open(key , subkey , desired = KEY _ READ , opt = REG _ OPTION _ RESERVED) (107.0) -
@todo
...を Win32::Registry オブジェクトで指定します。
親のキーには定義済キー HKEY_* を使用できます (⇒Win32::Registry::Constants)
desired はアクセスマスクです。opt はキーのオプションです。
詳細は以下の MSDN Library を参照してください。... -
Win32
:: Registry . open(key , subkey , desired = KEY _ READ , opt = REG _ OPTION _ RESERVED) {|reg| . . . } (107.0) -
@todo
...を Win32::Registry オブジェクトで指定します。
親のキーには定義済キー HKEY_* を使用できます (⇒Win32::Registry::Constants)
desired はアクセスマスクです。opt はキーのオプションです。
詳細は以下の MSDN Library を参照してください。...