Share via


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

Initializes a new instance of the InputDescriptor class with the specified key, data type, name, description, and input type.

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

Syntax

'Declaration
Public Sub New ( _
    key As String, _
    type As Type, _
    name As String, _
    description As String, _
    inputType As AutoAssignedInput _
)
'Usage
Dim key As String
Dim type As Type
Dim name As String
Dim description As String
Dim inputType As AutoAssignedInput

Dim instance As New InputDescriptor(key, type, _
    name, description, inputType)
public InputDescriptor(
    string key,
    Type type,
    string name,
    string description,
    AutoAssignedInput inputType
)
public:
InputDescriptor(
    String^ key, 
    Type^ type, 
    String^ name, 
    String^ description, 
    AutoAssignedInput inputType
)
public function InputDescriptor(
    key : String, 
    type : Type, 
    name : String, 
    description : String, 
    inputType : AutoAssignedInput
)

Parameters

  • key
    Type: System.String
    The key that is used to uniquely identify the input value. For the default generator, this key is the property name.
  • 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

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

Permissions

See Also

Reference

InputDescriptor Class

InputDescriptor Members

InputDescriptor Overload

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