ShapeField.GetSelectable Method
Gets the shape field and verifies whether it can be selected.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Public Overridable Function GetSelectable ( _
parentShape As ShapeElement _
) As Boolean
'Usage
Dim instance As ShapeField
Dim parentShape As ShapeElement
Dim returnValue As Boolean
returnValue = instance.GetSelectable(parentShape)
public virtual bool GetSelectable(
ShapeElement parentShape
)
public:
virtual bool GetSelectable(
ShapeElement^ parentShape
)
public function GetSelectable(
parentShape : ShapeElement
) : boolean
Parameters
parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe shape element to which the shape field is assigned.
Return Value
Type: System.Boolean
true if the shape field can be selected; otherwise, false.
.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.