RegistryProxyとは? わかりやすく解説

RegistryProxy クラス

メモ : このクラスは、.NET Framework version 2.0 で新しく追加されたものです。

レジストリを操作するためのプロパティおよびメソッドを提供します。

名前空間: Microsoft.VisualBasic.MyServices
アセンブリ: Microsoft.VisualBasic (microsoft.visualbasic.dll 内)
構文構文

Dim instance As RegistryProxy
public class RegistryProxy
public ref class RegistryProxy
public class RegistryProxy
public class RegistryProxy
解説解説
使用例使用例

この例では、HKEY_CURRENT_USER\Software\MyApp から値 Name を読み取り、メッセージ ボックスに表示しています。

Dim readValue As Object
        readValue = My.Computer.Registry.GetValue _
        ("HKEY_CURRENT_USER\Software\MyApp", "Name",
 Nothing)
        MsgBox("The value is " & CStr(readValue))
継承階層継承階層
System.Object
  Microsoft.VisualBasic.MyServices.RegistryProxy
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
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 メソッド


パブリック メソッドパブリック メソッド

プロテクト メソッドプロテクト メソッド
参照参照

関連項目

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 型を返します。
パブリック メソッドパブリック メソッド
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

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のお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



RegistryProxyのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS