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 function GeneratorAttribute(
    designerType : Type
)

Parameters

Remarks

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

Permissions

See Also

Reference

GeneratorAttribute Class

GeneratorAttribute Members

Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace

Generator

IGenerator

GeneratorInit

Other Resources

How to: Create Custom Data Generators