TestElement.HostType Property

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

Syntax

'宣言
<PropertyWindowAttribute(PropertyConverterType.HostTypeConverter)> _
<UserVisiblePropertyAttribute("{A898971C-FFC5-491b-A5C3-346A62BA6136}")> _
<GroupingPropertyAttribute> _
Public Overridable Property HostType As String
'使用
Dim instance As TestElement
Dim value As String

value = instance.HostType

instance.HostType = value
[PropertyWindowAttribute(PropertyConverterType.HostTypeConverter)]
[UserVisiblePropertyAttribute("{A898971C-FFC5-491b-A5C3-346A62BA6136}")]
[GroupingPropertyAttribute]
public virtual string HostType { get; set; }
[PropertyWindowAttribute(PropertyConverterType::HostTypeConverter)]
[UserVisiblePropertyAttribute(L"{A898971C-FFC5-491b-A5C3-346A62BA6136}")]
[GroupingPropertyAttribute]
public:
virtual property String^ HostType {
    String^ get ();
    void set (String^ value);
}
public function get HostType () : String
public function set HostType (value : String)

Property Value

Type: System.String

Implements

IHostedTest.HostType

Permissions

See Also

Reference

TestElement Class

TestElement Members

Microsoft.VisualStudio.TestTools.Common Namespace