GeneratorAttribute Constructor
Initializes a new instance of the GeneratorAttribute class with the specified designer type.
Namespace: Microsoft.Data.Schema.DataGenerator
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.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
)
new :
designerType:Type -> GeneratorAttribute
Parameters
- designerType
Type: System.Type
The Type of 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.
.NET Framework Security
- 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.