Share via


InputDescriptor.Value Property

Gets or sets the value of the input.

Namespace: Microsoft.VisualStudio.TeamSystem.Data.DataGenerator
Assembly: Microsoft.VisualStudio.TeamSystem.Data (in microsoft.visualstudio.teamsystem.data.dll)

Syntax

'Declaration
Public Property Value As Object
'Usage
Dim instance As InputDescriptor
Dim value As Object

value = instance.Value

instance.Value = value
public Object Value { get; set; }
public:
property Object^ Value {
    Object^ get ();
    void set (Object^ value);
}
/** @property */
public Object get_Value ()

/** @property */
public void set_Value (Object value)
public function get Value () : Object

public function set Value (value : Object)

Property Value

An Object that contains the value of the input.

Remarks

The data generator maintains a dictionary of input values and uses the key property to uniquely identify the input values.

The type of the Object that is returned from this property must be IXmlSerializable. Otherwise, it cannot be persisted.

See Also

Tasks

How to: Add Input Properties to a Data Generator
Walkthrough: Creating a Custom Data Generator

Reference

InputDescriptor Class
InputDescriptor Members
Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace
SetInputValues
InputAttribute Class