Share via


InputDescriptor Constructor (String, Type, String, String, AutoAssignedInput)

Initializes a new instance of the InputDescriptor class by using the provided parameters.

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

Syntax

'Declaration
Public Sub New ( _
    key As String, _
    type As Type, _
    name As String, _
    description As String, _
    inputType As AutoAssignedInput _
)
public InputDescriptor(
    string key,
    Type type,
    string name,
    string description,
    AutoAssignedInput inputType
)
public:
InputDescriptor(
    String^ key, 
    Type^ type, 
    String^ name, 
    String^ description, 
    AutoAssignedInput inputType
)
new : 
        key:string * 
        type:Type * 
        name:string * 
        description:string * 
        inputType:AutoAssignedInput -> InputDescriptor
public function InputDescriptor(
    key : String, 
    type : Type, 
    name : String, 
    description : String, 
    inputType : AutoAssignedInput
)

Parameters

  • key
    Type: System.String
    The key that uniquely identifies the input value. For the default generator, this key is the property name.
  • type
    Type: System.Type
    The data type of the input value.
  • name
    Type: System.String
    The friendly name of the input. This name appears in the Properties window.
  • description
    Type: System.String
    The description of the input. This description appears in the Properties window.

Remarks

The inputType parameter can have any one of the well-known input types that AutoAssignedInput defines, which include Seed(), Nullable(), PercentageNull(), Unique(), and so on.

.NET Framework Security

See Also

Reference

InputDescriptor Class

InputDescriptor Overload

Microsoft.Data.Schema.Tools.DataGenerator Namespace

InputDescriptor

AutoAssignedInput