Compartir a través de


ProvideOptionPageAttribute Constructor (Type, String, String, Int16, Int16, Boolean, Int32)

Instantiates a new instance of ProvideOptionPageAttribute.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Sub New ( _
    pageType As Type, _
    categoryName As String, _
    pageName As String, _
    categoryResourceID As Short, _
    pageNameResourceID As Short, _
    supportsAutomation As Boolean, _
    keywordListResourceId As Integer _
)
public ProvideOptionPageAttribute(
    Type pageType,
    string categoryName,
    string pageName,
    short categoryResourceID,
    short pageNameResourceID,
    bool supportsAutomation,
    int keywordListResourceId
)
public:
ProvideOptionPageAttribute(
    Type^ pageType, 
    String^ categoryName, 
    String^ pageName, 
    short categoryResourceID, 
    short pageNameResourceID, 
    bool supportsAutomation, 
    int keywordListResourceId
)
new : 
        pageType:Type * 
        categoryName:string * 
        pageName:string * 
        categoryResourceID:int16 * 
        pageNameResourceID:int16 * 
        supportsAutomation:bool * 
        keywordListResourceId:int -> ProvideOptionPageAttribute
public function ProvideOptionPageAttribute(
    pageType : Type, 
    categoryName : String, 
    pageName : String, 
    categoryResourceID : short, 
    pageNameResourceID : short, 
    supportsAutomation : boolean, 
    keywordListResourceId : int
)

Parameters

  • pageType
    Type: Type

    The Type of the class implementing the Tools Options page.

  • categoryName
    Type: String

    The canonical nonlocalized name of the Tools Options page category.

  • pageName
    Type: String

    The canonical nonlocalized name of the Tools Options page subcategory.

  • categoryResourceID
    Type: Int16

    The localized resource ID of the Tools Options page category.

  • pageNameResourceID
    Type: Int16

    The localized resource ID of the Tools Options page subcategory.

  • supportsAutomation
    Type: Boolean

    If true, the Tools Options page can be accessed through the Visual Studio automation mechanism.

  • keywordListResourceId
    Type: Int32

    The resource ID of the list of keywords.

.NET Framework Security

See Also

Reference

ProvideOptionPageAttribute Class

ProvideOptionPageAttribute Overload

Microsoft.VisualStudio.Shell Namespace