Share via


GeneratorAttribute Constructor

Initializes a new instance of the GeneratorAttribute class with the specified designer type.

Namespace: Microsoft.VisualStudio.TeamSystem.Data.DataGenerator
Assembly: Microsoft.VisualStudio.TeamSystem.Data (in microsoft.visualstudio.teamsystem.data.dll)

Syntax

'Declaration
Public Sub New ( _
    designerType As Type _
)
'Usage
Dim designerType As Type

Dim instance As New GeneratorAttribute(designerType)
public GeneratorAttribute (
    Type designerType
)
public:
GeneratorAttribute (
    Type^ designerType
)
public GeneratorAttribute (
    Type designerType
)
public function GeneratorAttribute (
    designerType : Type
)

Parameters

  • designerType
    The Type of the designer for this data generator. designerType must implement IGeneratorDesigner.

Remarks

You can create a custom designer for a custom data generator, or you can use DefaultGeneratorDesigner.

See Also

Tasks

How to: Create Custom Data Generators

Reference

GeneratorAttribute Class
GeneratorAttribute Members
Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace
Generator Class
IGenerator
GeneratorInit