共用方式為


ShapeElement.FindPreviousChild Method

Searches for the previous child in the navigation sequence for the shape.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Public Function FindPreviousChild ( _
    startFromChildItem As DiagramItem, _
    focusableRequired As Boolean _
) As DiagramItem
public DiagramItem FindPreviousChild(
    DiagramItem startFromChildItem,
    bool focusableRequired
)
public:
DiagramItem^ FindPreviousChild(
    DiagramItem^ startFromChildItem, 
    bool focusableRequired
)
member FindPreviousChild : 
        startFromChildItem:DiagramItem * 
        focusableRequired:bool -> DiagramItem 
public function FindPreviousChild(
    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 previous child in the navigation sequence for the shape.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace