RegistryProxy クラス
アセンブリ: Microsoft.VisualBasic (microsoft.visualbasic.dll 内)
構文
解説
詳細については、Visual Basic のトピック「My.Computer.Registry オブジェクト」を参照してください。
これらのプロパティを使用するには、RegistryPermissionAccess 列挙体によって許可された読み取りと書き込みのアクセス権限が必要です。完全信頼で実行されるコード (既定のセキュリティ ポリシーでは、ユーザーのローカル ハード ドライブにインストールされたコード) はすべて、レジストリにアクセスするために必要なアクセス許可を持つことになります。詳細については、「RegistryPermission クラス」を参照してください。
My.Computer.Registry オブジェクトを使ったタスクの例を次の表に示します。
継承階層
Microsoft.VisualBasic.MyServices.RegistryProxy
プラットフォーム
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
参照
RegistryProxy メンバ
Microsoft.VisualBasic.MyServices 名前空間
Microsoft.Win32.Registry
その他の技術情報
My.Computer.Registry オブジェクト
My.Computer.Registry オブジェクトのメンバ
My.Computer.Registry.ClassesRoot プロパティ
My.Computer.Registry.CurrentConfig プロパティ
My.Computer.Registry.CurrentUser プロパティ
My.Computer.Registry.DynData プロパティ
My.Computer.Registry.LocalMachine プロパティ
My.Computer.Registry.PerformanceData プロパティ
My.Computer.Registry.Users プロパティ
My.Computer.Registry.GetValue メソッド
My.Computer.Registry.SetValue メソッド
My.Computer オブジェクト
一般的なレジストリ タスク
チュートリアル : レジストリ キーの作成と値の変更
トラブルシューティング : レジストリの操作
RegistryProxy プロパティ
パブリック プロパティ
名前 | 説明 | |
---|---|---|
ClassesRoot | HKEY_CLASSES_ROOT へのアクセスを提供する RegistryKey 型を返します。 | |
CurrentConfig | HKEY_CURRENT_CONFIG へのアクセスを提供する RegistryKey 型を返します。 | |
CurrentUser | HKEY_CURRENT_USER へのアクセスを提供する RegistryKey 型を返します。 | |
DynData | HKEY_DYNDATA へのアクセスを提供する RegistryKey 型を返します。 | |
LocalMachine | HKEY_LOCAL_MACHINE へのアクセスを提供する RegistryKey 型を返します。 | |
PerformanceData | HKEY_PERFORMANCE_DATA へのアクセスを提供する RegistryKey 型を返します。 | |
Users | HKEY_USERS へのアクセスを提供する RegistryKey 型を返します。 |
関連項目
RegistryProxy クラスMicrosoft.VisualBasic.MyServices 名前空間
Microsoft.Win32.Registry
その他の技術情報
My.Computer.Registry オブジェクトMy.Computer.Registry オブジェクトのメンバ
My.Computer.Registry.ClassesRoot プロパティ
My.Computer.Registry.CurrentConfig プロパティ
My.Computer.Registry.CurrentUser プロパティ
My.Computer.Registry.DynData プロパティ
My.Computer.Registry.LocalMachine プロパティ
My.Computer.Registry.PerformanceData プロパティ
My.Computer.Registry.Users プロパティ
My.Computer.Registry.GetValue メソッド
My.Computer.Registry.SetValue メソッド
My.Computer オブジェクト
一般的なレジストリ タスク
チュートリアル : レジストリ キーの作成と値の変更
トラブルシューティング : レジストリの操作
RegistryProxy メソッド
パブリック メソッド
名前 | 説明 | |
---|---|---|
Equals | オーバーロードされます。 2 つの Object インスタンスが等しいかどうかを判断します。 ( Object から継承されます。) | |
GetHashCode | 特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用に適しています。 ( Object から継承されます。) | |
GetType | 現在のインスタンスの Type を取得します。 ( Object から継承されます。) | |
GetValue | レジストリ キーから値を取得します。 | |
ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 ( Object から継承されます。) | |
SetValue | オーバーロードされます。 レジストリ キーに値を書き込みます。 | |
ToString | 現在の Object を表す String を返します。 ( Object から継承されます。) |
名前 | 説明 | |
---|---|---|
Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 ( Object から継承されます。) | |
MemberwiseClone | 現在の Object の簡易コピーを作成します。 ( Object から継承されます。) |
関連項目
RegistryProxy クラスMicrosoft.VisualBasic.MyServices 名前空間
Microsoft.Win32.Registry
その他の技術情報
My.Computer.Registry オブジェクトMy.Computer.Registry オブジェクトのメンバ
My.Computer.Registry.ClassesRoot プロパティ
My.Computer.Registry.CurrentConfig プロパティ
My.Computer.Registry.CurrentUser プロパティ
My.Computer.Registry.DynData プロパティ
My.Computer.Registry.LocalMachine プロパティ
My.Computer.Registry.PerformanceData プロパティ
My.Computer.Registry.Users プロパティ
My.Computer.Registry.GetValue メソッド
My.Computer.Registry.SetValue メソッド
My.Computer オブジェクト
一般的なレジストリ タスク
チュートリアル : レジストリ キーの作成と値の変更
トラブルシューティング : レジストリの操作
RegistryProxy メンバ
レジストリを操作するためのプロパティおよびメソッドを提供します。
RegistryProxy データ型で公開されるメンバを以下の表に示します。
パブリック プロパティ
名前 | 説明 | |
---|---|---|
ClassesRoot | HKEY_CLASSES_ROOT へのアクセスを提供する RegistryKey 型を返します。 | |
CurrentConfig | HKEY_CURRENT_CONFIG へのアクセスを提供する RegistryKey 型を返します。 | |
CurrentUser | HKEY_CURRENT_USER へのアクセスを提供する RegistryKey 型を返します。 | |
DynData | HKEY_DYNDATA へのアクセスを提供する RegistryKey 型を返します。 | |
LocalMachine | HKEY_LOCAL_MACHINE へのアクセスを提供する RegistryKey 型を返します。 | |
PerformanceData | HKEY_PERFORMANCE_DATA へのアクセスを提供する RegistryKey 型を返します。 | |
Users | HKEY_USERS へのアクセスを提供する RegistryKey 型を返します。 |
名前 | 説明 | |
---|---|---|
Equals | オーバーロードされます。 2 つの Object インスタンスが等しいかどうかを判断します。 (Object から継承されます。) | |
GetHashCode | 特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用に適しています。 (Object から継承されます。) | |
GetType | 現在のインスタンスの Type を取得します。 (Object から継承されます。) | |
GetValue | レジストリ キーから値を取得します。 | |
ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 (Object から継承されます。) | |
SetValue | オーバーロードされます。 レジストリ キーに値を書き込みます。 | |
ToString | 現在の Object を表す String を返します。 (Object から継承されます。) |
名前 | 説明 | |
---|---|---|
Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 (Object から継承されます。) | |
MemberwiseClone | 現在の Object の簡易コピーを作成します。 (Object から継承されます。) |
関連項目
RegistryProxy クラスMicrosoft.VisualBasic.MyServices 名前空間
Microsoft.Win32.Registry
その他の技術情報
My.Computer.Registry オブジェクトMy.Computer.Registry オブジェクトのメンバ
My.Computer.Registry.ClassesRoot プロパティ
My.Computer.Registry.CurrentConfig プロパティ
My.Computer.Registry.CurrentUser プロパティ
My.Computer.Registry.DynData プロパティ
My.Computer.Registry.LocalMachine プロパティ
My.Computer.Registry.PerformanceData プロパティ
My.Computer.Registry.Users プロパティ
My.Computer.Registry.GetValue メソッド
My.Computer.Registry.SetValue メソッド
My.Computer オブジェクト
一般的なレジストリ タスク
チュートリアル : レジストリ キーの作成と値の変更
トラブルシューティング : レジストリの操作
- RegistryProxyのページへのリンク