PropertyGrid.IComPropertyBrowser.SaveState(RegistryKey) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Saves user states from the PropertyGrid control to the registry. For a description of this member, see 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
- optRootkey
- 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 | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET प्रतिक्रिया
.NET एक ओपन सोर्स प्रोजेक्ट है. प्रतिक्रिया प्रदान करने के लिए लिंक का चयन करें: