Autodesk Vault ProfessionalVault API

PromptDefinition Constructor

Autodesk.DataManagement.Client.Framework.Forms.CurrencyPromptDefinition

Constructs a new PromptDefinition.

Syntax

public PromptDefinition(
   System.string id,
   System.string text,
   System.string command,
   PromptStyle style,
   PromptAnswer defaultAnswer,
   System.string title,
   PromptAnswer escapeAnswer,
   PromptInstruction defaultInstruction
)
Public Function New( _
   ByVal id As System.String, _
   ByVal text As System.String, _
   ByVal command As System.String, _
   ByVal style As PromptStyle, _
   ByVal defaultAnswer As PromptAnswer, _
   Optional ByVal title As System.String, _
   Optional ByVal escapeAnswer As PromptAnswer, _
   Optional ByVal defaultInstruction As PromptInstruction _
)

Parameters

NameDescription
idThe ID of the prompt.
textThe text to display to a user when prompted.
commandA string identifying the main command or workflow this prompt will be used in. Used to logically group related prompts when displayed to a user.
styleThe PromptStyle of this prompt.
defaultAnswerThe default answer for this prompt.
titleThe text to display as the caption of the prompt dialog. If null, defaults to the application name.
escapeAnswerThe answer a prompt returns when the user escapes the prompt dialog. If set to "NotSet", uses a default excape answer based on the prompt style. See the EscapeAnswer property for more information.
defaultInstructionThe default PromptInstruction to use for this prompt. Defaults to PromptInstruction.PromptAlways.

See Also