TestElement.UserData Property
Gets or sets an object that contains nonpersistable arbitrary data for a custom test element.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Property UserData As Object
public Object UserData { get; set; }
public:
virtual property Object^ UserData {
Object^ get () sealed;
void set (Object^ value) sealed;
}
abstract UserData : Object with get, set
override UserData : Object with get, set
final function get UserData () : Object
final function set UserData (value : Object)
Property Value
Type: Object
An object that contains nonpersistable arbitrary data.
Implements
.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.