PerceptionDepthFrameSource.Available 属性

定义

获取一个布尔值,该值指示源是否可用。

public:
 property bool Available { bool get(); };
bool Available();
/// [get: Windows.Foundation.Metadata.Deprecated("PerceptionDepthFrameSource may be unavailable after Windows Creator Update.  Use Windows.Media.Capture.Frames.MediaFrameSource instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
bool Available();
public bool Available { get; }
public bool Available { [Windows.Foundation.Metadata.Deprecated("PerceptionDepthFrameSource may be unavailable after Windows Creator Update.  Use Windows.Media.Capture.Frames.MediaFrameSource instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")] get; }
var boolean = perceptionDepthFrameSource.available;
Public ReadOnly Property Available As Boolean

属性值

Boolean

bool

一个布尔值,指示源是否可用。

属性

适用于