Share via


TestElement.HostData Property

Gets or sets data to be used by the custom host that is identified by the HostType property.

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

Syntax

'Declaration
<PropertyWindowAttribute> _
Public Overridable Property HostData As String
[PropertyWindowAttribute]
public virtual string HostData { get; set; }
[PropertyWindowAttribute]
public:
virtual property String^ HostData {
    String^ get ();
    void set (String^ value);
}
[<PropertyWindowAttribute>]
abstract HostData : string with get, set
[<PropertyWindowAttribute>]
override HostData : string with get, set
function get HostData () : String 
function set HostData (value : String)

Property Value

Type: String
A string containing data used by a custom host.

.NET Framework Security

See Also

Reference

TestElement Class

Microsoft.VisualStudio.TestTools.Common Namespace

HostType