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

Syntax

Public Function FindLastChild ( _
    parentShape As ShapeElement, _
    focusableRequired As Boolean _
) As DiagramItem

Dim instance As ShapeField
Dim parentShape As ShapeElement
Dim focusableRequired As Boolean
Dim returnValue As DiagramItem

returnValue = instance.FindLastChild(parentShape, _
    focusableRequired)
public DiagramItem FindLastChild(
    ShapeElement parentShape,
    bool focusableRequired
)
public:
DiagramItem^ FindLastChild(
    ShapeElement^ parentShape, 
    bool focusableRequired
)
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.

Permissions

See Also

Reference

ShapeField Class

ShapeField Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace