Partager via


MseStreamSource.IsContentTypeSupported(String) Méthode

Définition

Spécifie si un type de contenu est pris en charge.

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

Paramètres

contentType
String

Platform::String

winrt::hstring

Chaîne qui décrit le type de contenu.

Retours

Boolean

bool

true si le type de contenu spécifié par contentType est pris en charge ; sinon, false.

S’applique à