Share via


ServerComputer.Registry Propiedad

Definición

Obtiene un objeto que proporciona las propiedades y los métodos para manipular el Registro.

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

Valor de propiedad

Objeto My.Computer.Registry del equipo.

Ejemplos

En este ejemplo se lee el valor Name de HKEY_CURRENT_USER\Software\MyApp y se muestra en un cuadro de mensaje.

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

Comentarios

Esta propiedad proporciona un acceso sencillo al RegistryProxy objeto .

Se aplica a

Consulte también