ShapeField.Selected Method

Gets the shape field and verifies whether it is selected.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'Declaration
Public Function Selected ( _
    parentShape As ShapeElement, _
    view As DiagramClientView _
) As Boolean
'Usage
Dim instance As ShapeField 
Dim parentShape As ShapeElement 
Dim view As DiagramClientView 
Dim returnValue As Boolean 

returnValue = instance.Selected(parentShape, _
    view)
public bool Selected(
    ShapeElement parentShape,
    DiagramClientView view
)
public:
bool Selected(
    ShapeElement^ parentShape, 
    DiagramClientView^ view
)
public function Selected(
    parentShape : ShapeElement, 
    view : DiagramClientView
) : boolean

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

ShapeField Class

ShapeField Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace