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

See Also

Reference

IRunConfigurationCustomHostEditor Interface

Microsoft.VisualStudio.TestTools.Vsip Namespace