Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Protected MustOverride Function GetButtonImage ( _
parentShape As ShapeElement _
) As Image
'使用
Dim parentShape As ShapeElement
Dim returnValue As Image
returnValue = Me.GetButtonImage(parentShape)
protected abstract Image GetButtonImage(
ShapeElement parentShape
)
protected:
virtual Image^ GetButtonImage(
ShapeElement^ parentShape
) abstract
protected abstract function GetButtonImage(
parentShape : ShapeElement
) : Image
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
Return Value
Type: System.Drawing.Image
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.