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
parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe parent shape field.
focusableRequired
Type: System.Booleantrue 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.