IRunConfigurationCustomHostEditor.HostType Property
Gets the name of the host.
Namespace: Microsoft.VisualStudio.TestTools.Vsip
Assembly: Microsoft.VisualStudio.QualityTools.Vsip (in Microsoft.VisualStudio.QualityTools.Vsip.dll)
Syntax
'宣告
ReadOnly Property HostType As String
string HostType { get; }
property String^ HostType {
String^ get ();
}
abstract HostType : string
function get HostType () : String
Property Value
Type: System.String
The name of the host.
Remarks
This string will be displayed in the Host type list on the Hosts page of the test run configuration editor.
Examples
/// <summary>
/// The host adapter type that this editor is used for.
/// </summary>
string IRunConfigurationCustomHostEditor.HostType
{
get
{
return MyHostAdapter.Name;
}
}
.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.