MimeTypeExAsMediaType Method |
Converts the MIME type to media type.
Namespace: Ozeki.VoIPAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public static MediaType AsMediaType(
this MimeType mimeType
)
<ExtensionAttribute>
Public Shared Function AsMediaType (
mimeType As MimeType
) As MediaType
public:
[ExtensionAttribute]
static MediaType^ AsMediaType(
MimeType mimeType
)
[<ExtensionAttribute>]
static member AsMediaType :
mimeType : MimeType -> MediaType
Parameters
- mimeType
- Type: Ozeki.VoIPMimeType
The MIME type.
Return Value
Type:
MediaTypeThe media type.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
MimeType. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also