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
'使用
Dim value As DesignSurface

value = Me.Surface
protected DesignSurface Surface { get; }
protected:
property DesignSurface^ Surface {
    DesignSurface^ get ();
}
protected function get Surface () : DesignSurface

Property Value

Type: System.ComponentModel.Design.DesignSurface

The DesignSurface this extension was initialized with, or a null reference (Nothing in Visual Basic) of the extension has been disposed.

Permissions

See Also

Concepts

Extending Design-Time Support

Reference

DesignSurfaceExtension Class

DesignSurfaceExtension Members

Microsoft.VisualStudio.Shell.Design Namespace

DesignSurfaceExtensionAttribute

DesignSurfaceExtension

DesignSurface

IDesigner

IDesignerHost