Autodesk Vault ProfessionalVault API

Generate Method

Autodesk.DataManagement.Client.Framework.Vault.ServicesIEntityIDGenerationService

Gets a unique ID to associate with a programmatic entity.

Syntax

System.long Generate(
   EntityClass entityClass,
   System.string entityMoniker
)
Function Generate( _
   ByVal entityClass As EntityClass, _
   ByVal entityMoniker As System.String _
) As System.Long

Parameters

NameDescription
entityClassThe entity class that the entity is associated with
entityMonikerA value that uniquely identifies your entity. This will vary for each entity, and it can be as simple as an entity Display Name if no two objects can have the same name. The moniker is case and white space sensitive.

Return Value

The generated ID

See Also