MimeTypeParse(ReadOnlyMemoryChar) Method

Definition

Namespace: FolkerKinzel.MimeTypes
Assembly: FolkerKinzel.MimeTypes (in FolkerKinzel.MimeTypes.dll) Version: 5.6.0+6976b8f96f59170e54fb7f8a4989b77d09f9b1c0
C#
public static MimeType Parse(
	 in ReadOnlyMemory<char> value
)

Parameters

value  ReadOnlyMemoryChar
The ReadOnlyMemory<Char> to parse.

Return Value

MimeType
The MimeType instance that value represents.

Exceptions

ArgumentExceptionvalue value could not be parsed as MimeType.

See Also