Share via


Generator.OutputKey Property

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

Namespace:  Microsoft.Data.Schema.DataGenerator
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
<InputAttribute(AutoAssignedInput := AutoAssignedInput.OutputKey, ReadOnly := True,  _
    Visible := False)> _
Public Property OutputKey As String
    Get
    Set
'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);
}
function get OutputKey () : String
function set OutputKey (value : String)
[<InputAttribute(AutoAssignedInput = AutoAssignedInput.OutputKey, ReadOnly = true, 
    Visible = false)>]
member OutputKey : string with get, set

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.

.NET Framework Security

See Also

Reference

Generator Class

Generator Members

Microsoft.Data.Schema.DataGenerator Namespace