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
testType
Type: System.TypeThe Type for the custom ITestElement to which this attribute is applied.
tipType
Type: System.Type
factoryType
Type: System.TypeThe Type for the custom UITestControlFactory for the test type.
priority
Type: System.Int32A 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.Int32The ID number for the test name.
editorNameId
Type: System.Int32The ID number for the editor to use for the test class to which this attribute is applied.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
RegisterTestTypeAttribute Class