共用方式為


MseStreamSource.IsContentTypeSupported(String) 方法

定義

指定是否支援內容類型。

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

參數

contentType
String

Platform::String

winrt::hstring

描述內容類型的字串。

傳回

Boolean

bool

如果支援contentType所指定的內容類型,則為true;否則為false

適用於