PlayToSourceRequest.SetSource(PlayToSource) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置源元素以连接到“播放到”目标。
public:
virtual void SetSource(PlayToSource ^ value) = SetSource;
/// [Windows.Foundation.Metadata.Deprecated("PlayToSourceRequest may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
void SetSource(PlayToSource const& value);
/// [Windows.Foundation.Metadata.Deprecated("PlayToSourceRequest may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
void SetSource(PlayToSource const& value);
[Windows.Foundation.Metadata.Deprecated("PlayToSourceRequest may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))]
public void SetSource(PlayToSource value);
[Windows.Foundation.Metadata.Deprecated("PlayToSourceRequest may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
public void SetSource(PlayToSource value);
function setSource(value)
Public Sub SetSource (value As PlayToSource)
参数
- value
- PlayToSource
要连接到“播放到”目标的源元素。
- 属性
注解
PlayToSourceRequest 类表示用户请求源媒体流式传输到“播放到”目标。 在 SourceRequested 事件期间,使用 PlayToSourceRequestedEventArgs 类的 SourceRequest 属性 将媒体从应用程序传递到“播放到”。