共用方式為


PerceptionFrame.RelativeTime 屬性

定義

取得或設定此框架相對於這個 IPerceptionFrameProvider 中其他畫面的相對時間。

public:
 property TimeSpan RelativeTime { TimeSpan get(); void set(TimeSpan value); };
TimeSpan RelativeTime();

void RelativeTime(TimeSpan value);
/// [get: Windows.Foundation.Metadata.Deprecated("PerceptionFrame may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("PerceptionFrame may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
TimeSpan RelativeTime();

void RelativeTime(TimeSpan value);
public System.TimeSpan RelativeTime { get; set; }
public System.TimeSpan RelativeTime { [Windows.Foundation.Metadata.Deprecated("PerceptionFrame may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")] get; [Windows.Foundation.Metadata.Deprecated("PerceptionFrame may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")] set; }
var timeSpan = perceptionFrame.relativeTime;
perceptionFrame.relativeTime = timeSpan;
Public Property RelativeTime As TimeSpan

屬性值

此框架相對於這個 IPerceptionFrameProvider 中其他畫面的相對時間。

屬性

適用於