Compartir a través de


IDTToolsOptionsPage Interface

Implemented when constructing a custom tools options page.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Syntax

'Declaration
<GuidAttribute("BDCAF240-2692-4713-902A-B110B1D0F100")> _
Public Interface IDTToolsOptionsPage
[GuidAttribute("BDCAF240-2692-4713-902A-B110B1D0F100")]
public interface IDTToolsOptionsPage
[GuidAttribute(L"BDCAF240-2692-4713-902A-B110B1D0F100")]
public interface class IDTToolsOptionsPage
[<GuidAttribute("BDCAF240-2692-4713-902A-B110B1D0F100")>]
type IDTToolsOptionsPage =  interface end
public interface IDTToolsOptionsPage

The IDTToolsOptionsPage type exposes the following members.

Methods

  Name Description
Public method GetProperties Returns an object containing all properties contained on the specified custom Tools Options page.
Public method OnAfterCreated Occurs immediately after a custom Tools Options page is created for the first time.
Public method OnCancel Occurs if the user clicks the Cancel button in the Options dialog box.
Public method OnHelp Occurs when a user clicks the Help button in a custom ToolsOptions page.
Public method OnOK Occurs when a user clicks OK in a custom Tools Options page.

Top

Remarks

The IDTToolsOptionsPage interface allows you to create your own custom Options pages. When implemented, it provides five methods that act as events within the environment.

To create a custom Options page, you create an ActiveX control, set the required registry settings, and then implement this interface. For more information, see Controlling Options Settings.

See Also

Reference

EnvDTE Namespace