PropertyGrid.IComPropertyBrowser.LoadState(RegistryKey) Metoda

Definice

Načte stavy uživatele z registru do PropertyGrid ovládacího prvku. Popis tohoto člena naleznete v tématu 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

Parametry

optRootkey
RegistryKey

Klíč registru, který obsahuje stavy uživatele.

Implementuje

Poznámky

Tento člen je explicitní implementace členu rozhraní. Lze ho použít pouze v PropertyGrid případě, že je instance přetypována do IComPropertyBrowser rozhraní.

Visual Studio 2005 uloží některé stavy ovládacích PropertyGrid prvků, například vlastnostiPropertySort, HelpVisible do registru a načte je při příštím spuštění aplikace.

Platí pro