Click or drag to resize
ElementIdMapFindT Method (ListElementBase, ElementType)
Finds the first occurance of an Element id give a list of Elements.

Namespace: StreamCoders.Container
Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
public static T Find<T>(
	this List<ElementBase> elements,
	ElementType elementType
)
where T : ElementBase

Parameters

elements
Type: System.Collections.GenericListElementBase
The elements to act on.
elementType
Type: StreamCoders.ContainerElementType
Type of the element.

Type Parameters

T
Generic type parameter.

Return Value

Type: T
A T.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ListElementBase. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also