MimeTypeExAsMediaType Method |
Converts the MIME type to media type.
Namespace:
Ozeki.VoIP
Assembly:
OzekiSDK (in OzekiSDK.dll) Version: 10.3.183.0
Syntaxpublic static VoIPMediaType AsMediaType(
this MimeType mimeType
)
<ExtensionAttribute>
Public Shared Function AsMediaType (
mimeType As MimeType
) As VoIPMediaType
public:
[ExtensionAttribute]
static VoIPMediaType^ AsMediaType(
MimeType mimeType
)
[<ExtensionAttribute>]
static member AsMediaType :
mimeType : MimeType -> VoIPMediaType
Parameters
- mimeType
- Type: Ozeki.VoIPMimeType
The MIME type.
Return Value
Type:
VoIPMediaTypeThe 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