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
- 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
Concepts
Reference
DesignSurfaceExtension Members
Microsoft.VisualStudio.Shell.Design Namespace