←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 20.0.2018.9.5
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly