編輯

共用方式為


Duration.HasTimeSpan Property

Definition

Gets a value that indicates if this Duration represents a TimeSpan value.

public:
 property bool HasTimeSpan { bool get(); };
public bool HasTimeSpan { get; }
member this.HasTimeSpan : bool
Public ReadOnly Property HasTimeSpan As Boolean

Property Value

True if this Duration is a TimeSpan value; otherwise, false.

Applies to