Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IComPropertyBrowser.SaveState Method

PropertyGrid.IComPropertyBrowser.SaveState Method

This API supports the .NET Framework 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.

Implements

IComPropertyBrowser.SaveState(RegistryKey)

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft