FromValue

FormatFamilyBase.FromValue<T> method

Retrieves an instance of the specified type T that has the specified identifier.

public static T FromValue<T>(int value)
    where T : FormatFamilyBase
Parameter Description
T The type of format family.
value The identifier of the format family.

Return Value

An instance of the specified type T with the specified identifier.

Exceptions

exception condition
InvalidOperationException Thrown when no matching format family is found.

See Also