PlayToSourceRequestedEventArgs.SourceRequest 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得要連線到 Play To 目標的媒體物件。
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
屬性值
要連線到 Play To 目標的媒體物件。
- 屬性
備註
您可以使用 屬性,在 SourceRequested 事件期間將媒體從應用程式傳遞至 Play To。