Compartilhar via


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

'Declaração
Public Overridable Sub Initialize ( _
    surface As DesignSurface _
)
public virtual void Initialize(
    DesignSurface surface
)

Parameters

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

See Also

Reference

DesignSurfaceExtension Class

Microsoft.VisualStudio.Shell.Design Namespace

DesignSurfaceExtensionAttribute

DesignSurfaceExtension

DesignSurface

IDesigner

IDesignerHost

Other Resources

Extending Design-Time Support