共用方式為


DesignSurfaceExtension Constructor

Create a new instance of the DesignSurfaceExtension class.

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaration
Protected Sub New
protected DesignSurfaceExtension()
protected:
DesignSurfaceExtension()
new : unit -> DesignSurfaceExtension
protected function DesignSurfaceExtension()

Remarks

When the Visual Studio environment uses an instance of DesignSurfaceExtension, this constructor is used to instantiate the object, but information about the DesignSurface is added in the call to Initialize.

.NET Framework Security

See Also

Reference

DesignSurfaceExtension Class

Microsoft.VisualStudio.Shell.Design Namespace

DesignSurfaceExtensionAttribute

DesignSurfaceExtension

DesignSurface

IDesigner

IDesignerHost

Other Resources

Extending Design-Time Support