PlayToSourceRequestedEventArgs.SourceRequest 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取要连接到“播放到”目标的媒体对象。
public:
property PlayToSourceRequest ^ SourceRequest { PlayToSourceRequest ^ get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("PlayToSourceRequestedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
PlayToSourceRequest SourceRequest();
/// [get: Windows.Foundation.Metadata.Deprecated("PlayToSourceRequestedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
PlayToSourceRequest SourceRequest();
public PlayToSourceRequest SourceRequest { [Windows.Foundation.Metadata.Deprecated("PlayToSourceRequestedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] get; }
public PlayToSourceRequest SourceRequest { [Windows.Foundation.Metadata.Deprecated("PlayToSourceRequestedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] get; }
var playToSourceRequest = playToSourceRequestedEventArgs.sourceRequest;
Public ReadOnly Property SourceRequest As PlayToSourceRequest
属性值
要连接到“播放到”目标的媒体对象。
- 属性
注解
在 SourceRequested 事件期间,使用 属性将媒体从应用程序传递到“播放到”。