GeonBit.UI Documentation
EntityFindT Method (String, Boolean) |
Find and return first occurance of a child entity with a given identifier and specific type.
Namespace: GeonBit.UI.Entities
Assembly: GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)

C#
public T Find<T>( string identifier, bool recursive = false ) where T : Entity
Parameters
- identifier
- Type: SystemString
Identifier to find. - recursive (Optional)
- Type: SystemBoolean
If true, will search recursively in children of children. If false, will search only in direct children.
Type Parameters
- T
- Entity type to get.
Return Value
Type: TFirst found entity with given identifier and type, or null if nothing found.
