SystemMediaProperties 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
一个帮助程序对象,它为 Windows 媒体文件属性提供索引名称。
public ref class SystemMediaProperties sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class SystemMediaProperties final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class SystemMediaProperties
Public NotInheritable Class SystemMediaProperties
- 继承
- 属性
Windows 要求
| 要求 | 说明 |
|---|---|
| 设备系列 |
Windows 10 (在 10.0.10240.0 中引入)
|
| API contract |
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
|
属性
| 名称 | 说明 |
|---|---|
| Duration |
获取 System.Media.Duration 属性的名称 (Windows 媒体文件属性之一。 |
| Producer |
获取 Windows 媒体文件属性之一 (System.Media.Producer属性的名称。 |
| Publisher |
获取 Windows 媒体文件属性之一 (System.Media.Publisher属性的名称。 |
| SubTitle |
获取 System.Media.SubTitle 属性的名称 (Windows 媒体文件属性之一。 |
| Writer |
获取 System.Media.Writer 属性的名称 (Windows 媒体文件属性之一。 |
| Year |
获取 Windows 媒体文件属性之一 (System.Media.Year属性的名称。 |