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);
}
public function get Value () : Object
public function set Value (value : Object)

Property Value

Type: System.Object
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.

Permissions

See Also

Reference

InputDescriptor Class

InputDescriptor Members

Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace

SetInputValues

InputAttribute

Other Resources

How to: Add Input Properties to a Data Generator

Walkthrough: Creating a Custom Data Generator