Namespace: Microsoft.VisualStudio.TestTools.Vsip
Assembly: Microsoft.VisualStudio.QualityTools.Vsip (in Microsoft.VisualStudio.QualityTools.Vsip.dll)
Syntax
'宣言
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 _
)
'使用
Dim testType As Type
Dim tipType As Type
Dim factoryType As Type
Dim priority As Integer
Dim extensions As String()
Dim iconIds As Integer()
Dim testTypeNameId As Integer
Dim editorNameId As Integer
Dim instance As New RegisterTestTypeAttribute(testType, _
tipType, factoryType, priority, extensions, _
iconIds, testTypeNameId, editorNameId)
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
)
public function RegisterTestTypeAttribute(
testType : Type,
tipType : Type,
factoryType : Type,
priority : int,
extensions : String[],
iconIds : int[],
testTypeNameId : int,
editorNameId : int
)
Parameters
- testType
Type: System.Type
- tipType
Type: System.Type
- factoryType
Type: System.Type
- priority
Type: System.Int32
- extensions
Type: []
- iconIds
Type: []
- testTypeNameId
Type: System.Int32
- editorNameId
Type: System.Int32
Permissions
- 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