PlayToSourceRequestedEventArgs.SourceRequest 属性

定义

获取要连接到“播放到”目标的媒体对象。

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 事件期间,使用 属性将媒体从应用程序传递到“播放到”。

适用于

另请参阅