AnchorPoint.GetSelectable 方法
傳回值,指出此錨點是否可選取。
命名空間: Microsoft.VisualStudio.Modeling.Diagrams
組件: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)
語法
'宣告
Public Function GetSelectable ( _
parentShape As ShapeElement, _
segment As LineSegment _
) As Boolean
public bool GetSelectable(
ShapeElement parentShape,
LineSegment segment
)
參數
- parentShape
型別:Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
AnchorPoint 屬於 LinkShape。
- segment
型別:Microsoft.VisualStudio.Modeling.Diagrams.LineSegment
AnchorPoint 屬於 LineSegment。
傳回值
備註
傳回值,指出是否可選取此錨點。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。