ShapeElement.FindLastChild Method
Searches for the last child in the navigation sequence for the shape.
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 ( _
focusableRequired As Boolean _
) As DiagramItem
public DiagramItem FindLastChild(
bool focusableRequired
)
public:
DiagramItem^ FindLastChild(
bool focusableRequired
)
member FindLastChild :
focusableRequired:bool -> DiagramItem
public function FindLastChild(
focusableRequired : boolean
) : DiagramItem
Parameters
focusableRequired
Type: System.Booleantrue if the child must be able to have focus to be considered; otherwise, false.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
The last child in the navigation sequence for the shape.
Remarks
By default, shape fields precede child shapes in the navigation sequence.
.NET Framework Security
- 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.