Share via


ITestElement.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
Property UserData As Object
Object UserData { get; set; }
property Object^ UserData {
    Object^ get ();
    void set (Object^ value);
}
abstract UserData : Object with get, set
function get UserData () : Object 
function set UserData (value : Object)

Property Value

Type: Object
An object that contains nonpersistable arbitrary data.

.NET Framework Security

See Also

Reference

ITestElement Interface

Microsoft.VisualStudio.TestTools.Common Namespace