ElementBaseFindFirstChildT Method (ElementType) |
Finds the first child that matches an ElementType and casts to T.
Namespace: StreamCoders.ContainerAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntaxpublic T FindFirstChild<T>(
ElementType element
)
where T : ElementBase
Public Function FindFirstChild(Of T As ElementBase) (
element As ElementType
) As T
public:
generic<typename T>
where T : ElementBase
T FindFirstChild(
ElementType element
)
member FindFirstChild :
element : ElementType -> 'T when 'T : ElementBase
Parameters
- element
- Type: StreamCoders.ContainerElementType
The element type.
Type Parameters
- T
Return Value
Type:
T
The found child, otherwise null.
See Also