Sdílet prostřednictvím


TestElement.HostType Property

Definition

Gets or sets the type name for the custom host to use for the test instead of the default host.

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

Property Value

The type name for the custom host.

Implements

Attributes

Applies to