PlayToConnectionStateChangedEventArgs.PreviousState 属性

定义

获取更改“播放到”连接状态之前的先前状态。

public:
 property PlayToConnectionState PreviousState { PlayToConnectionState get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("PlayToConnectionStateChangedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
PlayToConnectionState PreviousState();
/// [get: Windows.Foundation.Metadata.Deprecated("PlayToConnectionStateChangedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
PlayToConnectionState PreviousState();
public PlayToConnectionState PreviousState { [Windows.Foundation.Metadata.Deprecated("PlayToConnectionStateChangedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] get; }
public PlayToConnectionState PreviousState { [Windows.Foundation.Metadata.Deprecated("PlayToConnectionStateChangedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] get; }
var playToConnectionState = playToConnectionStateChangedEventArgs.previousState;
Public ReadOnly Property PreviousState As PlayToConnectionState

属性值

更改“播放到”连接状态之前的先前状态。

属性

适用于

另请参阅