InputDescriptor Constructor (String, Type, String, String, AutoAssignedInput, Type, Type)
Initializes a new instance of the InputDescriptor class with the specified key, data type, name, description, input type, type converter, and editor 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, _
typeConverter As Type, _
uiTypeEditor As Type _
)
'Usage
Dim key As String
Dim type As Type
Dim name As String
Dim description As String
Dim inputType As AutoAssignedInput
Dim typeConverter As Type
Dim uiTypeEditor As Type
Dim instance As New InputDescriptor(key, type, name, description, inputType, typeConverter, uiTypeEditor)
public InputDescriptor (
string key,
Type type,
string name,
string description,
AutoAssignedInput inputType,
Type typeConverter,
Type uiTypeEditor
)
public:
InputDescriptor (
String^ key,
Type^ type,
String^ name,
String^ description,
AutoAssignedInput inputType,
Type^ typeConverter,
Type^ uiTypeEditor
)
public InputDescriptor (
String key,
Type type,
String name,
String description,
AutoAssignedInput inputType,
Type typeConverter,
Type uiTypeEditor
)
public function InputDescriptor (
key : String,
type : Type,
name : String,
description : String,
inputType : AutoAssignedInput,
typeConverter : Type,
uiTypeEditor : Type
)
Parameters
- key
The key that is used to uniquely identify the input value. For the default generator, this key is the property name.
- type
The data type of the input.
- name
The friendly name of the input. This name appears in the Properties window.
- description
The description of the input. This description appears in the Properties window.
- inputType
The type of the input. This parameter is used to specify the type of the input for well-known input types.
- typeConverter
The type converter to use for this input. A type converter is used to show a drop-down list in the Properties window.
- uiTypeEditor
The type of the editor for this input.
Remarks
inputType can have any of the well-known input types that AutoAssignedInput defines, which include Seed, Nullable, PercentageNull, Unique, and so on.
See Also
Tasks
How to: Add Input Properties to a Data Generator
Walkthrough: Creating a Custom Data Generator
Reference
InputDescriptor Class
InputDescriptor Members
Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace
SetInputValues
InputAttribute Class