MseStreamSource.IsContentTypeSupported(String) Methode

Definition

Gibt an, ob ein Inhaltstyp unterstützt wird.

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

Parameter

contentType
String

Platform::String

winrt::hstring

Eine Zeichenfolge, die den Inhaltstyp beschreibt.

Gibt zurück

Boolean

bool

true , wenn der von contentType angegebene Inhaltstyp unterstützt wird; Andernfalls false.

Gilt für: