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: System.Object
An object that contains nonpersistable arbitrary data.

Implements

ITestElement.UserData

.NET Framework Security

See Also

Reference

TestElement Class

Microsoft.VisualStudio.TestTools.Common Namespace