PerceptionFrame.RelativeTime 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定此框架相對於這個 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 中其他畫面的相對時間。
- 屬性