Udostępnij za pośrednictwem


PlayToSourceRequestedEventArgs.SourceRequest Property

Definition

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.

Applies to

See also