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
- designerType
Type: System.Type
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.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace