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
-
Guid
Platform::Guid
winrt::guid
A new, unique Guid.
Examples
var newGuid = Windows.Foundation.GuidHelper.createNewGuid();
Remarks
In JavaScript, Guid is projected as a string.
Applies to
フィードバック
フィードバックの送信と表示