TestElement.HostType Eigenschaft
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Ruft den Typnamen für den benutzerdefinierten Host ab, der anstelle des Standard Hosts für den Test verwendet werden soll, oder legt ihn fest.
public:
virtual property System::String ^ HostType { System::String ^ get(); void set(System::String ^ value); };
[Microsoft.VisualStudio.TestTools.Common.GroupingProperty]
[Microsoft.VisualStudio.TestTools.Common.LocalizedDescription(typeof(Microsoft.VisualStudio.TestTools.Resources.UIResources), "Common_HostType_PropertyDescription")]
[Microsoft.VisualStudio.TestTools.Common.PropertyWindow(Microsoft.VisualStudio.TestTools.Common.PropertyConverterType.HostTypeConverter)]
[Microsoft.VisualStudio.TestTools.Common.TestCaseManagementDisplayName(typeof(Microsoft.VisualStudio.TestTools.Resources.UIResources), "Common_HostType")]
[Microsoft.VisualStudio.TestTools.Common.UserVisibleProperty("{A898971C-FFC5-491b-A5C3-346A62BA6136}")]
[System.ComponentModel.DefaultValue("")]
public virtual string HostType { get; set; }
[<Microsoft.VisualStudio.TestTools.Common.GroupingProperty>]
[<Microsoft.VisualStudio.TestTools.Common.LocalizedDescription(typeof(Microsoft.VisualStudio.TestTools.Resources.UIResources), "Common_HostType_PropertyDescription")>]
[<Microsoft.VisualStudio.TestTools.Common.PropertyWindow(Microsoft.VisualStudio.TestTools.Common.PropertyConverterType.HostTypeConverter)>]
[<Microsoft.VisualStudio.TestTools.Common.TestCaseManagementDisplayName(typeof(Microsoft.VisualStudio.TestTools.Resources.UIResources), "Common_HostType")>]
[<Microsoft.VisualStudio.TestTools.Common.UserVisibleProperty("{A898971C-FFC5-491b-A5C3-346A62BA6136}")>]
[<System.ComponentModel.DefaultValue("")>]
member this.HostType : string with get, set
Public Overridable Property HostType As String
Eigenschaftswert
Der Typname für den benutzerdefinierten Host.
Implementiert
- Attribute