PropertyGrid.IComPropertyBrowser.SaveState(RegistryKey) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Enregistre les états utilisateur du PropertyGrid contrôle dans le Registre. Pour obtenir une description de ce membre, consultez SaveState(RegistryKey).
virtual void System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.SaveState(Microsoft::Win32::RegistryKey ^ optRoot) = System::Windows::Forms::ComponentModel::Com2Interop::IComPropertyBrowser::SaveState;
virtual void System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.SaveState(Microsoft::Win32::RegistryKey ^ key) = System::Windows::Forms::ComponentModel::Com2Interop::IComPropertyBrowser::SaveState;
void IComPropertyBrowser.SaveState(Microsoft.Win32.RegistryKey optRoot);
void IComPropertyBrowser.SaveState(Microsoft.Win32.RegistryKey? key);
void IComPropertyBrowser.SaveState(Microsoft.Win32.RegistryKey key);
abstract member System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.SaveState : Microsoft.Win32.RegistryKey -> unit
override this.System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.SaveState : Microsoft.Win32.RegistryKey -> unit
abstract member System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.SaveState : Microsoft.Win32.RegistryKey -> unit
override this.System.Windows.Forms.ComponentModel.Com2Interop.IComPropertyBrowser.SaveState : Microsoft.Win32.RegistryKey -> unit
Sub SaveState (optRoot As RegistryKey) Implements IComPropertyBrowser.SaveState
Sub SaveState (key As RegistryKey) Implements IComPropertyBrowser.SaveState
Paramètres
- optRootkey
- RegistryKey
Clé de Registre qui contient les états utilisateur.
Implémente
Remarques
Ce membre est une implémentation explicite de membre d’interface. Elle ne peut être utilisée que lorsque l’instance PropertyGrid est convertie en IComPropertyBrowser interface.
Visual Studio 2005 enregistre certaines des propriétés de contrôle PropertyGrid, telles que les propriétés PropertySort et HelpVisible, dans le Registre et les charge la prochaine fois que l’utilisateur exécute l’application.