ShapeField.FindFirstChild Method
Locates the first child shape field in the parent shape field.
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 FindFirstChild ( _
parentShape As ShapeElement, _
focusableRequired As Boolean _
) As DiagramItem
public DiagramItem FindFirstChild(
ShapeElement parentShape,
bool focusableRequired
)
public:
DiagramItem^ FindFirstChild(
ShapeElement^ parentShape,
bool focusableRequired
)
member FindFirstChild :
parentShape:ShapeElement *
focusableRequired:bool -> DiagramItem
public function FindFirstChild(
parentShape : ShapeElement,
focusableRequired : boolean
) : DiagramItem
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The parent shape field.
- 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 first child shape field in the parent shape field.
.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.