KeyTimeHelper Klasse

Definition

Stellt Hilfsprogrammmethoden für die Arbeit mit KeyTime-Werten bereit. C# und Microsoft Visual Basic-Code sollten stattdessen Elemente von KeyTime verwenden.

public ref class KeyTimeHelper sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class KeyTimeHelper final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class KeyTimeHelper
Public NotInheritable Class KeyTimeHelper
Vererbung
Object Platform::Object IInspectable KeyTimeHelper
Attribute

Methoden

FromTimeSpan(TimeSpan)

Generiert basierend auf dem angegebenen TimeSpan eine neue KeyTime-Instanz mit Anfangsdaten. C# und Microsoft Visual Basic-Code sollten stattdessen FromTimeSpan verwenden.

Gilt für: