DefaultGeneratorDesigner.Initialize Method
Initializes the designer with the type of the data generator to which it corresponds.
Namespace: Microsoft.VisualStudio.TeamSystem.Data.DataGenerator
Assembly: Microsoft.VisualStudio.TeamSystem.Data (in Microsoft.VisualStudio.TeamSystem.Data.dll)
Syntax
'Declaration
Public Overridable Sub Initialize ( _
initInfo As DesignerInit _
)
'Usage
Dim instance As DefaultGeneratorDesigner
Dim initInfo As DesignerInit
instance.Initialize(initInfo)
public virtual void Initialize(
DesignerInit initInfo
)
public:
virtual void Initialize(
DesignerInit^ initInfo
)
public function Initialize(
initInfo : DesignerInit
)
Parameters
- initInfo
Type: Microsoft.VisualStudio.TeamSystem.Data.DataGenerator.DesignerInit
A DesignerInit that contains the type of the data generator.
Implements
IDesigner.Initialize(DesignerInit)
Exceptions
Exception | Condition |
---|---|
[ArgumentNullException] | The Type property of initInfo is null. |
Remarks
This method must be called before any other method on the designer (other than the constructor).
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
DefaultGeneratorDesigner Class
DefaultGeneratorDesigner Members
Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace