OptionPage Members

Include Protected Members
Include Inherited Members

Used with the Visual Studio Tools Option page to simplify the implementation for any derived option page class.

The OptionPage type exposes the following members.

Constructors

  Name Description
Protected method OptionPage Initializes a new instance of the OptionPage class.

Top

Methods

  Name Description
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Dispose Overloaded. Releases resources.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method GetService Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Public methodStatic member GetSettingsRegistryPath Helper method to get the registry path for this setting.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public methodStatic member LoadSettingsFromRegistry Helper method to handle loading settings from the registry.
Public method LoadSettingsFromStorage Loads settings from registry of this setting, sets the values to the Settings class, updates the user control with the latest settings, and raises events if new setting values are different from old setting values. (Overrides DialogPage.LoadSettingsFromStorage().)
Public method LoadSettingsFromXml Called by Visual Studio when a user chooses to import settings and points to a vssettings file. This method loads settings from a vssettings file, sets the values to the SettingsBase class, updates the user control with the latest settings, and raises events if new setting values are different from old settings. (Overrides DialogPage.LoadSettingsFromXml(IVsSettingsReader).)
Protected method LoadSingleSettingFromStorage Loads a single setting from the registry.
Protected method MemberwiseClone Overloaded.
Protected method OnActivate (Inherited from DialogPage.)
Protected method OnApply (Inherited from DialogPage.)
Protected method OnClosed (Inherited from DialogPage.)
Protected method OnDeactivate (Inherited from DialogPage.)
Public method ResetSettings Resets settings associated with this OptionPage. (Overrides DialogPage.ResetSettings().)
Public method SaveSettingsToStorage Called when the user modifies settings in Visual Studio by choosing Options from the Tools menu, and chooses to save the settings. Gets the latest value from the user control, loads all setting values from the SettingsBase class, and saves the settings to the registry. (Overrides DialogPage.SaveSettingsToStorage().)
Public method SaveSettingsToXml Called when the user chooses to export these settings to a vssettings file. Gets the latest value from the user control, loads all setting values from the SettingsBase class, and saves the settings to the passed-in IvsSettingWriter. (Overrides DialogPage.SaveSettingsToXml(IVsSettingsWriter).)
Protected method SaveSingleSettingToStorage Writes a single setting to the registry.
Public method ToString Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)

Top

Properties

  Name Description
Public property AutomationObject Gets the automation object for this option page. (Overrides DialogPage.AutomationObject.)
Protected property CanRaiseEvents Gets a value indicating whether the component can raise an event. (Inherited from Component.)
Public property Container Gets the IContainer that contains the Component. (Inherited from Component.)
Public property Control Gets the user control for this option page.
Protected property DesignMode Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Protected property Events Gets the list of event handlers that are attached to this Component. (Inherited from Component.)
Public property Settings Gets the SettingsBase for this OptionPage.
Protected property SettingsRegistryPath (Inherited from DialogPage.)
Public property Site (Inherited from DialogPage.)
Protected property Window Gets the window this dialog page will use for its UI. (Overrides DialogPage.Window.)

Top

Events

  Name Description
Public event Disposed Occurs when the component is disposed by a call to the Dispose method. (Inherited from Component.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate property IWin32Window.Handle (Inherited from DialogPage.)

Top

See Also

Reference

OptionPage Class

Microsoft.VisualStudio.Data.Schema.Project.Common.UI.Settings Namespace