Udostępnij za pośrednictwem


IRunConfigurationCustomHostEditor.HostType Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the name of the host.

Namespace:  Microsoft.VisualStudio.TestTools.Vsip
Assembly:  Microsoft.VisualStudio.QualityTools.Vsip (in Microsoft.VisualStudio.QualityTools.Vsip.dll)

Syntax

'Declaration
ReadOnly Property HostType As String
string HostType { get; }
property String^ HostType {
    String^ get ();
}
abstract HostType : string with get
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