Bagikan melalui


MseStreamSource.IsContentTypeSupported(String) Metode

Definisi

Menentukan apakah tipe isi didukung.

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

String yang menjelaskan jenis konten.

Mengembalikan

Boolean

bool

true jika tipe konten yang ditentukan oleh contentType didukung; jika tidak, salah.

Berlaku untuk