DesignSurfaceExtension.Initialize Method
Initializes the design surface extension.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'宣告
Public Overridable Sub Initialize ( _
surface As DesignSurface _
)
public virtual void Initialize(
DesignSurface surface
)
Parameters
- surface
Type: System.ComponentModel.Design.DesignSurface
The design surface that is being created.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | surface is nulla null reference (Nothing in Visual Basic). |
Remarks
If you do not need any initialization you do not need to override this method.
.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.
See Also
Reference
Microsoft.VisualStudio.Shell.Design Namespace
DesignSurfaceExtensionAttribute