CodecQuery 类

定义

提供 FindAllAsync 方法,该方法允许枚举系统上安装的所有媒体编解码器。

public ref class CodecQuery sealed
/// [Windows.Foundation.Metadata.Activatable(262144, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CodecQuery final
[Windows.Foundation.Metadata.Activatable(262144, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CodecQuery
function CodecQuery()
Public NotInheritable Class CodecQuery
继承
Object Platform::Object IInspectable CodecQuery
属性

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)

构造函数

CodecQuery()

初始化 CodecQuery 类的新实例。

方法

FindAllAsync(CodecKind, CodecCategory, String)

返回安装在系统上满足指定要求的所有媒体编解码器的只读列表。

适用于