This member overrides ToggleButtonField.GetButtonImage(ShapeElement).
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Protected Overrides Function GetButtonImage ( _
parentShape As ShapeElement _
) As Image
'使用
Dim parentShape As ShapeElement
Dim returnValue As Image
returnValue = Me.GetButtonImage(parentShape)
protected override Image GetButtonImage(
ShapeElement parentShape
)
protected:
virtual Image^ GetButtonImage(
ShapeElement^ parentShape
) override
protected override 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.