PropertyGrid.IComPropertyBrowser.LoadState(RegistryKey) Metodo

Definizione

Carica nel controllo PropertyGrid gli stati utente dal Registro di sistema. Per una descrizione di questo membro, vedere 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

Parametri

optRootkey
RegistryKey

Chiave del Registro di sistema contenente gli stati utente.

Implementazioni

Commenti

Questo membro è un’implementazione esplicita di un membro di interfaccia. Può essere utilizzato solo quando si esegue il cast dell'istanza PropertyGrid a un'interfaccia IComPropertyBrowser.

Visual Studio 2005 salva alcuni stati del PropertyGrid controllo, ad esempio le PropertySort proprietà e, HelpVisible nel Registro di sistema e li carica al successivo esecuzione dell'applicazione.

Si applica a