UtilityCreateBoxInstanceT Method |
Creates an MP4 Box instance.
Namespace: StreamCoders.Container.MP4Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntaxpublic static T CreateBoxInstance<T>(
Box paramBox
)
where T : new(), Box
Public Shared Function CreateBoxInstance(Of T As {New, Box}) (
paramBox As Box
) As T
public:
generic<typename T>
where T : gcnew(), Box
static T CreateBoxInstance(
Box^ paramBox
)
static member CreateBoxInstance :
paramBox : Box -> 'T when 'T : new() and Box
Parameters
- paramBox
- Type: StreamCoders.Container.MP4Box
A box used to initialize the newly created instance of box type T.
Type Parameters
- T
-
Generic type parameter constrained to Box and derivations.
Return Value
Type:
T
The new box instance.
See Also