OutputDescriptor Constructor (String, Type, String, String)

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

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 _
)
'Usage
Dim key As String
Dim type As Type
Dim name As String
Dim description As String

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

Parameters

  • key
    Type: System.String
    The key that is used to uniquely identify the output value. For the default designer, this key is the property name.
  • name
    Type: System.String
    The friendly name of the output. This name appears in the Generator Output column.

Exceptions

Exception Condition
ArgumentNullException

type is nulla null reference (Nothing in Visual Basic).

ArgumentNullException

key is nulla null reference (Nothing in Visual Basic).

ArgumentException

key is empty.

Permissions

See Also

Reference

OutputDescriptor Class

OutputDescriptor Members

OutputDescriptor Overload

Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace

GetOutputValue

OutputAttribute

InputDescriptor

Other Resources

How to: Add Output Properties to a Data Generator

Walkthrough: Creating a Custom Data Generator