MimeTypeTryParse(ReadOnlyMemoryChar, MimeType) Method
Namespace: FolkerKinzel.MimeTypesAssembly: FolkerKinzel.MimeTypes (in FolkerKinzel.MimeTypes.dll) Version: 5.6.0+6976b8f96f59170e54fb7f8a4989b77d09f9b1c0
public static bool TryParse(
in ReadOnlyMemory<char> value,
out MimeType?? mimeType
)
Public Shared Function TryParse (
ByRef value As ReadOnlyMemory(Of Char),
<OutAttribute> ByRef mimeType As MimeType
) As Boolean
public:
static bool TryParse(
[InAttribute] ReadOnlyMemory<wchar_t>% value,
[OutAttribute] MimeType^% mimeType
)
static member TryParse :
value : ReadOnlyMemory<char> byref *
mimeType : MimeType byref -> bool
- value ReadOnlyMemoryChar
- The ReadOnlyMemory<Char> to parse.
- mimeType MimeType
- When the method successfully returns, the parameter contains the
MimeType parsed from value. The parameter is passed uninitialized.
Booleantrue if
value could be parsed as
MimeType; otherwise,
false.