Partager via


HostTypeAttribute.HostType Property

Gets a value that represents the type of host.

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

Syntax

'Declaration
Public ReadOnly Property HostType As String
public string HostType { get; }
public:
property String^ HostType {
    String^ get ();
}
member HostType : string with get
function get HostType () : String

Property Value

Type: String
A value that represents the type of host.

Remarks

This value is ASP.NET if this is not a customer-created host adapter.

.NET Framework Security

See Also

Reference

HostTypeAttribute Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace