PlayToSourceRequestedEventArgs.SourceRequest Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the media object to connect to a Play To target.
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
Property Value
The media object to connect to a Play To target.
- Attributes
Remarks
You use the property to pass media from your application to Play To during the SourceRequested event.