GuidHelper.CreateNewGuid Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new, unique Guid.
public:
static Platform::Guid CreateNewGuid();
static winrt::guid CreateNewGuid();
public static Guid CreateNewGuid();
function createNewGuid()
Public Shared Function CreateNewGuid () As Guid
Returns
A new, unique Guid.
Examples
var newGuid = Windows.Foundation.GuidHelper.createNewGuid();
Remarks
In JavaScript, Guid is projected as a string.
Applies to
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla