Udostępnij za pośrednictwem


Właściwość HostTypeAttribute.HostType —

Pobiera wartość, która reprezentuje typ hosta.

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.UnitTesting
Zestaw:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (w Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

Składnia

'Deklaracja
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

Wartość właściwości

Typ: System.String
Wartość, która reprezentuje typ hosta.

Uwagi

Ta wartość jest ASP.NET , jeśli nie jest to karta hosta utworzone przez klienta.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

HostTypeAttribute Klasa

Przestrzeń nazw Microsoft.VisualStudio.TestTools.UnitTesting