Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
'Declaration
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.StringThe name of the host adapter.
hostAdapterType
Type: System.TypeThe Type for the host adapter.
hostAdapterEditorType
Type: System.TypeThe 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