IComPropertyBrowser.SaveState Method

PropertyGrid.IComPropertyBrowser.SaveState Method (RegistryKey)

.NET Framework (current version)
 

This API supports the product infrastructure and is not intended to be used directly from your code.

Saves user states from the PropertyGrid control to the registry. For a description of this member, see IComPropertyBrowser.SaveState.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

void IComPropertyBrowser.SaveState(
	RegistryKey optRoot
)

Parameters

optRoot
Type: Microsoft.Win32.RegistryKey

The registry key that contains the user states.

This member is an explicit interface member implementation. It can be used only when the PropertyGrid instance is cast to an IComPropertyBrowser interface.

Visual Studio 2005 saves some of the PropertyGrid control states, such as the PropertySort and HelpVisible properties, to the registry and loads them the next time the user runs the application.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft