ShapeSubField.GetSelectable Method
Gets a value indicating whether this ShapeSubField is selectable.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
Public MustOverride Function GetSelectable ( _
parentShape As ShapeElement, _
parentField As ShapeField _
) As Boolean
public abstract bool GetSelectable(
ShapeElement parentShape,
ShapeField parentField
)
public:
virtual bool GetSelectable(
ShapeElement^ parentShape,
ShapeField^ parentField
) abstract
abstract GetSelectable :
parentShape:ShapeElement *
parentField:ShapeField -> bool
public abstract function GetSelectable(
parentShape : ShapeElement,
parentField : ShapeField
) : boolean
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The parent ShapeElement of this ShapeSubField.
- parentField
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
The parent ShapeField of this ShapeSubField.
Return Value
Type: System.Boolean
Remarks
If a ShapeSubField is selectable, it can participate in processes which operate on the selection, such as drag/drop, displaying properties in the property browser, and processes invoked by menu commands.
.NET Framework Security
- 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.