Delen via


ShapeField.FindLastChild Method

Locates the last child shape field in the parent shape field.

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 FindLastChild ( _
    parentShape As ShapeElement, _
    focusableRequired As Boolean _
) As DiagramItem
public DiagramItem FindLastChild(
    ShapeElement parentShape,
    bool focusableRequired
)
public:
DiagramItem^ FindLastChild(
    ShapeElement^ parentShape, 
    bool focusableRequired
)
member FindLastChild : 
        parentShape:ShapeElement * 
        focusableRequired:bool -> DiagramItem
public function FindLastChild(
    parentShape : ShapeElement, 
    focusableRequired : boolean
) : DiagramItem

Parameters

  • focusableRequired
    Type: System.Boolean

    true to consider only child shape fields that can receive focus; otherwise, false.

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
The last child shape field in the parent shape field.

.NET Framework Security

See Also

Reference

ShapeField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace