PlayToConnectionStateChangedEventArgs.CurrentState 属性

定义

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

public:
 property PlayToConnectionState CurrentState { 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 CurrentState();
/// [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 CurrentState();
public PlayToConnectionState CurrentState { [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 CurrentState { [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.currentState;
Public ReadOnly Property CurrentState As PlayToConnectionState

属性值

“播放到”连接状态更改后的当前状态。

属性

适用于

另请参阅