Share via


InputDescriptor Constructor (String, Type)

Initializes a new instance of the InputDescriptor class with the specified key and data 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 _
)
'Usage
Dim key As String
Dim type As Type

Dim instance As New InputDescriptor(key, type)
public InputDescriptor (
    string key,
    Type type
)
public:
InputDescriptor (
    String^ key, 
    Type^ type
)
public InputDescriptor (
    String key, 
    Type type
)
public function InputDescriptor (
    key : String, 
    type : 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.

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