←Select platform

NewCacheId Method

Summary

Generates a new document unique ID.

Syntax
C#
VB
C++
public static string NewCacheId() 
Public Shared Function NewCacheId() As String 
public:  
   static String^ NewCacheId() 

Return Value

Unique document ID. This is in the xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx format.

Remarks

All DocumentFactory methods that load or create a new document require a unique identifier for the document that will eventually be set in LEADDocument.DocumentId. This identifier can be passed by the user (for instance, in LoadDocumentOptions.DocumentId and CreateDocumentOptions.UserId) or if the default of null is used, then the factory calls NewCacheId to generate a new random unique ID and uses it.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.