Autodesk Vault ProfessionalVault API

RegisterPrompt Method

Autodesk.DataManagement.Client.Framework.Forms.ServicesIPromptService

Registers a prompt definition with the prompt service.

Syntax

void RegisterPrompt(
   PromptDefinition promptDef,
   System.bool replaceExisting
)
Sub RegisterPrompt( _
   ByVal promptDef As PromptDefinition, _
   Optional ByVal replaceExisting As System.Boolean _
) 

Parameters

NameDescription
promptDefThe PromptDefinition to register
replaceExistingWhether or not previously registered prompt should be replaced when attempting to register another prompt with a matching ID. If false, an exception will be thrown when attemping to register a prompt with an ID that was already registered. Defaults to false.

See Also