共用方式為


DesignSurfaceExtension.Surface Property

Gets the design surface this extension was initialized with.

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

Syntax

'宣告
Protected ReadOnly Property Surface As DesignSurface
protected DesignSurface Surface { get; }

Property Value

Type: System.ComponentModel.Design.DesignSurface
The DesignSurface this extension was initialized with, or nulla null reference (Nothing in Visual Basic) of the extension has been disposed.

.NET Framework Security

See Also

Reference

DesignSurfaceExtension Class

Microsoft.VisualStudio.Shell.Design Namespace

DesignSurfaceExtensionAttribute

DesignSurfaceExtension

DesignSurface

IDesigner

IDesignerHost

Other Resources

Extending Design-Time Support