Sdílet prostřednictvím


RegisterTestTypeAttribute Constructor

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the RegisterTestTypeAttribute class.

Namespace:  Microsoft.VisualStudio.TestTools.Vsip
Assembly:  Microsoft.VisualStudio.QualityTools.Vsip (in Microsoft.VisualStudio.QualityTools.Vsip.dll)

Syntax

'Declaration
Public Sub New ( _
    testType As Type, _
    tipType As Type, _
    factoryType As Type, _
    priority As Integer, _
    extensions As String(), _
    iconIds As Integer(), _
    testTypeNameId As Integer, _
    editorNameId As Integer _
)
public RegisterTestTypeAttribute(
    Type testType,
    Type tipType,
    Type factoryType,
    int priority,
    string[] extensions,
    int[] iconIds,
    int testTypeNameId,
    int editorNameId
)
public:
RegisterTestTypeAttribute(
    Type^ testType, 
    Type^ tipType, 
    Type^ factoryType, 
    int priority, 
    array<String^>^ extensions, 
    array<int>^ iconIds, 
    int testTypeNameId, 
    int editorNameId
)
new : 
        testType:Type * 
        tipType:Type * 
        factoryType:Type * 
        priority:int * 
        extensions:string[] * 
        iconIds:int[] * 
        testTypeNameId:int * 
        editorNameId:int -> RegisterTestTypeAttribute
public function RegisterTestTypeAttribute(
    testType : Type, 
    tipType : Type, 
    factoryType : Type, 
    priority : int, 
    extensions : String[], 
    iconIds : int[], 
    testTypeNameId : int, 
    editorNameId : int
)

Parameters

  • priority
    Type: System.Int32

    A number that indicates the priority for the test class to which this attribute is applied.

  • extensions
    Type: array<System.String[]

    A string array of extensions that is used by the test class to which this attribute is applied.

  • iconIds
    Type: array<System.Int32[]

    An int array of the IDs for icons that is used by the test class to which this attribute is applied.

  • testTypeNameId
    Type: System.Int32

    The ID number for the test name.

  • editorNameId
    Type: System.Int32

    The ID number for the editor to use for the test class to which this attribute is applied.

.NET Framework Security

See Also

Reference

RegisterTestTypeAttribute Class

Microsoft.VisualStudio.TestTools.Vsip Namespace

ITestElement

ITip

UITestControlFactory