MseStreamSource.IsContentTypeSupported(String) Method

Definition

Specifies whether a content type is supported.

public:
 static bool IsContentTypeSupported(Platform::String ^ contentType);
 static bool IsContentTypeSupported(winrt::hstring const& contentType);
public static bool IsContentTypeSupported(string contentType);
function isContentTypeSupported(contentType)
Public Shared Function IsContentTypeSupported (contentType As String) As Boolean

Parameters

contentType
String

Platform::String

winrt::hstring

A string that describes the content type.

Returns

Boolean

bool

true if the content type specified by contentType is supported; otherwise, false.

Applies to