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
'Usage
Dim instance As TestElement
Dim value As String
value = instance.HostData
instance.HostData = value
[PropertyWindowAttribute]
public virtual string HostData { get; set; }
[PropertyWindowAttribute]
public:
virtual property String^ HostData {
String^ get ();
void set (String^ value);
}
public function get HostData () : String
public function set HostData (value : String)
Property Value
Type: System.String
A string containing data used by a custom host.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.