共用方式為


IDTToolsOptionsPage Interface

Definition

Implemented when constructing a custom tools options page.

public interface class IDTToolsOptionsPage
public interface class IDTToolsOptionsPage
__interface IDTToolsOptionsPage
[System.Runtime.InteropServices.Guid("BDCAF240-2692-4713-902A-B110B1D0F100")]
[System.Runtime.InteropServices.TypeLibType(4160)]
public interface IDTToolsOptionsPage
[System.Runtime.InteropServices.Guid("BDCAF240-2692-4713-902A-B110B1D0F100")]
public interface IDTToolsOptionsPage
[<System.Runtime.InteropServices.Guid("BDCAF240-2692-4713-902A-B110B1D0F100")>]
[<System.Runtime.InteropServices.TypeLibType(4160)>]
type IDTToolsOptionsPage = interface
[<System.Runtime.InteropServices.Guid("BDCAF240-2692-4713-902A-B110B1D0F100")>]
type IDTToolsOptionsPage = interface
Public Interface IDTToolsOptionsPage
Attributes

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.

Methods

GetProperties(Object)

Returns an object containing all properties contained on the specified custom Tools Options page.

OnAfterCreated(DTE)

Occurs immediately after a custom Tools Options page is created for the first time.

OnCancel()

Occurs if the user clicks the Cancel button in the Options dialog box.

OnHelp()

Occurs when a user clicks the Help button in a custom ToolsOptions page.

OnOK()

Occurs when a user clicks OK in a custom Tools Options page.

Applies to