op_Explicit

explicit operator

Converts a string representing a format family name to a FormatFamilyBase object.

public static explicit operator FormatFamilyBase(string family)
Parameter Type Description
family String The name of the format family to convert.

Return Value

A FormatFamilyBase object corresponding to the specified format family name.

Exceptions

exception condition
ArgumentException Thrown when the specified format family name is invalid.

See Also


explicit operator

Converts an integer representing a format family ID to a FormatFamilyBase object.

public static explicit operator FormatFamilyBase(int id)
Parameter Type Description
id Int32 The ID of the format family to convert.

Return Value

A FormatFamilyBase object corresponding to the specified format family ID.

Exceptions

exception condition
ArgumentException Thrown when the specified format family ID is invalid.

See Also