Freigeben über


GuidHelper Klasse

Definition

Eine Klasse, die statische Hilfsmethoden zum Arbeiten mit dem Guid-Typ enthält.

public ref class GuidHelper abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GuidHelper final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class GuidHelper
Public Class GuidHelper
Vererbung
Object Platform::Object IInspectable GuidHelper
Attribute

Windows-Anforderungen

Anforderungen Beschreibung
Gerätefamilie
Windows 10, version 1809 (eingeführt in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v7.0)

Eigenschaften

Name Beschreibung
Empty

Ruft eine leere GUID mit Null ab.

Methoden

Name Beschreibung
CreateNewGuid()

Erstellt eine neue, eindeutige GUID.

Equals(Guid, Guid)

Bestimmt, ob eine GUID mit einer anderen GUID identisch ist.

Gilt für: