RegisterHostAdapterAttribute Constructor
Initializes a new instance of the RegisterHostAdapterAttribute class by using the provided host adapter name, adapter type, and editor type.
Namespace: Microsoft.VisualStudio.TestTools.Vsip
Assembly: Microsoft.VisualStudio.QualityTools.Vsip (in Microsoft.VisualStudio.QualityTools.Vsip.dll)
Syntax
'Декларация
Public Sub New ( _
hostAdapterName As String, _
hostAdapterType As Type, _
hostAdapterEditorType As Type _
)
public RegisterHostAdapterAttribute(
string hostAdapterName,
Type hostAdapterType,
Type hostAdapterEditorType
)
public:
RegisterHostAdapterAttribute(
String^ hostAdapterName,
Type^ hostAdapterType,
Type^ hostAdapterEditorType
)
new :
hostAdapterName:string *
hostAdapterType:Type *
hostAdapterEditorType:Type -> RegisterHostAdapterAttribute
public function RegisterHostAdapterAttribute(
hostAdapterName : String,
hostAdapterType : Type,
hostAdapterEditorType : Type
)
Parameters
- hostAdapterName
Type: System.String
The name of the host adapter.
- hostAdapterType
Type: System.Type
The Type for the host adapter.
- hostAdapterEditorType
Type: System.Type
The Type for the editor of the host adapter.
.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
RegisterHostAdapterAttribute Class