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)

public:
RegisterTestTypeAttribute(
	Type^ testType, 
	Type^ tipType, 
	Type^ factoryType, 
	int priority, 
	array<String^>^ extensions, 
	array<int>^ iconIds, 
	int testTypeNameId, 
	int editorNameId
)

Parameters

testType
Type: System::Type

The Type for the custom ITestElement to which this attribute is applied.

tipType
Type: System::Type

The Type for the custom ITip for the test type.

factoryType
Type: System::Type

The Type for the custom UITestControlFactory for the test type.

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.

Community Additions

Show: