Freigeben über


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

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, _
    keywordListResourceName As String _
)
public ProvideOptionPageAttribute(
    Type pageType,
    string categoryName,
    string pageName,
    short categoryResourceID,
    short pageNameResourceID,
    bool supportsAutomation,
    string keywordListResourceName
)
public:
ProvideOptionPageAttribute(
    Type^ pageType, 
    String^ categoryName, 
    String^ pageName, 
    short categoryResourceID, 
    short pageNameResourceID, 
    bool supportsAutomation, 
    String^ keywordListResourceName
)
new : 
        pageType:Type * 
        categoryName:string * 
        pageName:string * 
        categoryResourceID:int16 * 
        pageNameResourceID:int16 * 
        supportsAutomation:bool * 
        keywordListResourceName:string -> ProvideOptionPageAttribute
public function ProvideOptionPageAttribute(
    pageType : Type, 
    categoryName : String, 
    pageName : String, 
    categoryResourceID : short, 
    pageNameResourceID : short, 
    supportsAutomation : boolean, 
    keywordListResourceName : String
)

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.

  • keywordListResourceName
    Type: String

    The resource ID of the list of keywords.

.NET Framework Security

See Also

Reference

ProvideOptionPageAttribute Class

ProvideOptionPageAttribute Overload

Microsoft.VisualStudio.Shell Namespace