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 개체입니다.

적용 대상

추가 정보