Share via


Duration.HasTimeSpan Proprietà

Definizione

Ottiene un valore che indica se l'oggetto Duration rappresenta un valore TimeSpan.

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

Valore della proprietà

Boolean

true Se Duration è un TimeSpan valore; in caso contrario, false .

Commenti

Questo struct rappresenta la proiezione .NET dello struct Windows Runtime (WinRT) Duration . Per altre informazioni, vedere Duration nei riferimenti all'API UWP.

Si applica a