Condividi tramite


MseStreamSource.IsContentTypeSupported(String) Metodo

Definizione

Specifica se è supportato un tipo di contenuto.

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

Parametri

contentType
String

Platform::String

winrt::hstring

Stringa che descrive il tipo di contenuto.

Restituisce

Boolean

bool

true se il tipo di contenuto specificato da contentType è supportato; in caso contrario, false.

Si applica a