Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the type name for the custom host to use for the test instead of the default host.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
<PropertyWindowAttribute(PropertyConverterType.HostTypeConverter)> _
<UserVisiblePropertyAttribute("{A898971C-FFC5-491b-A5C3-346A62BA6136}")> _
<GroupingPropertyAttribute> _
Public Overridable Property HostType As String
'Usage
Dim instance As TestElement
Dim value As String
value = instance.HostType
instance.HostType = value
[PropertyWindowAttribute(PropertyConverterType.HostTypeConverter)]
[UserVisiblePropertyAttribute("{A898971C-FFC5-491b-A5C3-346A62BA6136}")]
[GroupingPropertyAttribute]
public virtual string HostType { get; set; }
[PropertyWindowAttribute(PropertyConverterType::HostTypeConverter)]
[UserVisiblePropertyAttribute(L"{A898971C-FFC5-491b-A5C3-346A62BA6136}")]
[GroupingPropertyAttribute]
public:
virtual property String^ HostType {
String^ get ();
void set (String^ value);
}
public function get HostType () : String
public function set HostType (value : String)
Property Value
Type: System.String
The type name for the custom host.
Implements
.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.