共用方式為


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Public Overridable Function GetSelectable ( _
    parentShape As ShapeElement _
) As Boolean
public virtual bool GetSelectable(
    ShapeElement parentShape
)
public:
virtual bool GetSelectable(
    ShapeElement^ parentShape
)
abstract GetSelectable : 
        parentShape:ShapeElement -> bool 
override GetSelectable : 
        parentShape:ShapeElement -> bool 
public function GetSelectable(
    parentShape : ShapeElement
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the shape field can be selected; otherwise, false.

.NET Framework Security

See Also

Reference

ShapeField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace