| CodecTypeExAsMediaType Method  | 
 
Namespace: Ozeki.MediaAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntaxpublic static MediaType AsMediaType(
	this CodecMediaType type
)
<ExtensionAttribute>
Public Shared Function AsMediaType ( 
	type As CodecMediaType
) As MediaType
public:
[ExtensionAttribute]
static MediaType AsMediaType(
	CodecMediaType type
)
[<ExtensionAttribute>]
static member AsMediaType : 
        type : CodecMediaType -> MediaType 
Parameters
- type
 - Type: Ozeki.MediaCodecMediaType
 
Return Value
Type: 
MediaTypeUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type 
CodecMediaType. 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