AxWindowsMediaPlayer.Ctlcontrols 属性

[与此页面关联的功能(Windows 媒体播放器 SDK)是旧版功能。 它已被 MediaPlayer 取代。 MediaPlayer 已针对Windows 10和Windows 11进行了优化。 如果可能,Microsoft 强烈建议新代码使用 MediaPlayer 而不是 Windows 媒体播放器 SDK。 如果可能,Microsoft 建议重写使用旧 API 的现有代码以使用新 API。]

Ctlcontrols 属性获取 IWMPControls 接口,该接口提供一种操作媒体项播放的方法。

此属性为只读。

语法

public IWMPControls Ctlcontrols {get;}

Public ReadOnly Property Ctlcontrols As IWMPControls

属性值

WMPLIB。IWMPControls 接口。

要求

要求
版本
Windows 媒体播放器 9 系列或更高版本
命名空间
AxWMPLib
程序集
AxInterop.WMPLib.dll (AxInterop.WMPLib.dll.dll)

另请参阅

AxWindowsMediaPlayer 对象 (VB 和 C#)

IWMPControls 接口 (VB 和 C#)