MimeTypeExAsMediaType Method |
Converts the MIME type to media type.
Namespace: Ozeki.VoIPAssembly: OzekiSDK (in OzekiSDK.dll) Version: 10.4.54.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 MimeType
- The MIME type.
Return Value
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