Compartilhar via


MseStreamSource.IsContentTypeSupported(String) Método

Definição

Especifica se há suporte para um tipo de conteúdo.

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

Parâmetros

contentType
String

Platform::String

winrt::hstring

Uma cadeia de caracteres que descreve o tipo de conteúdo.

Retornos

Boolean

bool

true se houver suporte para o tipo de conteúdo especificado por contentType ; caso contrário, false.

Aplica-se a