PropertyGrid.IComPropertyBrowser.LoadState(RegistryKey) Methode

Definition

Lädt Benutzerzustände aus der Registrierung in das PropertyGrid-Steuerelement. Eine Beschreibung dieses Elements finden Sie unter LoadState(RegistryKey).

 virtual void System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.LoadState(Microsoft::Win32::RegistryKey ^ optRoot) = System::Windows::Forms::ComponentModel::Com2Interop::IComPropertyBrowser::LoadState;
 virtual void System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.LoadState(Microsoft::Win32::RegistryKey ^ key) = System::Windows::Forms::ComponentModel::Com2Interop::IComPropertyBrowser::LoadState;
void IComPropertyBrowser.LoadState (Microsoft.Win32.RegistryKey optRoot);
void IComPropertyBrowser.LoadState (Microsoft.Win32.RegistryKey key);
abstract member System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.LoadState : Microsoft.Win32.RegistryKey -> unit
override this.System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.LoadState : Microsoft.Win32.RegistryKey -> unit
abstract member System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.LoadState : Microsoft.Win32.RegistryKey -> unit
override this.System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.LoadState : Microsoft.Win32.RegistryKey -> unit
Sub LoadState (optRoot As RegistryKey) Implements IComPropertyBrowser.LoadState
Sub LoadState (key As RegistryKey) Implements IComPropertyBrowser.LoadState

Parameter

optRootkey
RegistryKey

Der Registrierungsschlüssel mit den Benutzerzuständen.

Implementiert

Hinweise

Bei diesem Member handelt es sich um eine explizite Schnittstellenmemberimplementierung. Er kann nur verwendet werden, wenn die PropertyGrid-Instanz in eine IComPropertyBrowser-Schnittstelle umgewandelt wird.

Visual Studio 2005 speichert einige der Steuerelementzustände, z. B. die PropertyGrid PropertySort Eigenschaften und HelpVisible Eigenschaften, an die Registrierung und lädt sie beim nächsten Ausführen der Anwendung.

Gilt für