MseStreamSource.IsContentTypeSupported(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.