ServerComputer.Registry 속성

정의

레지스트리를 조작하기 위한 속성 및 메서드를 제공하는 개체를 가져옵니다.

public:
 property Microsoft::VisualBasic::MyServices::RegistryProxy ^ Registry { Microsoft::VisualBasic::MyServices::RegistryProxy ^ get(); };
public Microsoft.VisualBasic.MyServices.RegistryProxy Registry { get; }
member this.Registry : Microsoft.VisualBasic.MyServices.RegistryProxy
Public ReadOnly Property Registry As RegistryProxy

속성 값

My.Computer.Registry 컴퓨터의 개체입니다.

예제

이 예제에서는 값을 Name 읽고 HKEY_CURRENT_USER\Software\MyApp 메시지 상자에 표시합니다.

Dim readValue As Object
readValue = My.Computer.Registry.GetValue(
  "HKEY_CURRENT_USER\Software\MyApp", "Name", Nothing)
MsgBox("The value is " & CStr(readValue))

설명

이 속성은 개체에 쉽게 액세스할 수 있도록 RegistryProxy 합니다.

적용 대상

추가 정보