Generator.OutputKey Property

Gets or sets the key that is used to retrieve output values.

Namespace:  Microsoft.VisualStudio.TeamSystem.Data.DataGenerator
Assembly:  Microsoft.VisualStudio.TeamSystem.Data (in Microsoft.VisualStudio.TeamSystem.Data.dll)

Syntax

'Declaration
<InputAttribute(AutoAssignedInput := AutoAssignedInput.OutputKey, ReadOnly := True,  _
    Visible := False)> _
Public Property OutputKey As String
'Usage
Dim instance As Generator
Dim value As String

value = instance.OutputKey

instance.OutputKey = value
[InputAttribute(AutoAssignedInput = AutoAssignedInput.OutputKey, ReadOnly = true, 
    Visible = false)]
public string OutputKey { get; set; }
[InputAttribute(AutoAssignedInput = AutoAssignedInput::OutputKey, ReadOnly = true, 
    Visible = false)]
public:
property String^ OutputKey {
    String^ get ();
    void set (String^ value);
}
public function get OutputKey () : String
public function set OutputKey (value : String)

Property Value

Type: System.String
A string that contains the key that is used to retrieve output values.

Remarks

The OutputKey corresponds to the Key of the OutputDescriptor.

A data generator can have more than one output property. For example, a data bound generator might return more than one column from a data source. The OutputKey determines which output property to use to retrieve the data.

This property is decorated with the InputAttribute and the AutoAssignedInput named parameter.

Permissions

See Also

Reference

Generator Class

Generator Members

Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace

GeneratorAttribute

GeneratorInit

IGenerator

OutputKey

Other Resources

Creating Custom Data Generators

An Overview of Data Generator Extensibility

Specifying Details of Data Generation for a Column