Search
ComponentBase.Contains Method
See Also
 





Checks if the specified component is contained in the hierarchy defined by the current component.

Namespace: MindFusion.Diagramming.Components
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public bool Contains (
    ComponentBase component
)

Visual Basic  Copy Code

Public Function Contains( _
    component As ComponentBase _
) As Boolean

 Parameters

component

The component to search for.

 Return Value

true if the component is a direct or indirect child of the current component; otherwise, false.

 See Also