共用方式為


ShapeElement.FindNextChild Method

Searches for the next 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 FindNextChild ( _
    startFromChildItem As DiagramItem, _
    focusableRequired As Boolean _
) As DiagramItem
public DiagramItem FindNextChild(
    DiagramItem startFromChildItem,
    bool focusableRequired
)
public:
DiagramItem^ FindNextChild(
    DiagramItem^ startFromChildItem, 
    bool focusableRequired
)
member FindNextChild : 
        startFromChildItem:DiagramItem * 
        focusableRequired:bool -> DiagramItem
public function FindNextChild(
    startFromChildItem : DiagramItem, 
    focusableRequired : boolean
) : DiagramItem

Parameters

  • focusableRequired
    Type: System.Boolean

    true to consider the child shape only if it can have focus; otherwise, false.

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
The next child in the navigation sequence for the shape.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace