AnchorPoint.GetSelectable Method
Returns a value indicating whether this anchor point is selectable.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Function GetSelectable ( _
parentShape As ShapeElement, _
segment As LineSegment _
) As Boolean
public bool GetSelectable(
ShapeElement parentShape,
LineSegment segment
)
public:
bool GetSelectable(
ShapeElement^ parentShape,
LineSegment^ segment
)
member GetSelectable :
parentShape:ShapeElement *
segment:LineSegment -> bool
public function GetSelectable(
parentShape : ShapeElement,
segment : LineSegment
) : boolean
Parameters
parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe LinkShape that the AnchorPoint belongs to.
segment
Type: Microsoft.VisualStudio.Modeling.Diagrams.LineSegmentThe LineSegment that the AnchorPoint belongs to.
Return Value
Type: System.Boolean
Remarks
Returns a value that indicates whether this anchor point is selectable.
.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.