Autodesk Vault ProfessionalVault API

ValidateAnswer Method

Autodesk.DataManagement.Client.Framework.Forms.CurrencyPromptDefinition

Checks to make sure that the specified answer is compatable with the corresponding prompt style.

Syntax

public static System.bool ValidateAnswer(
   PromptStyle style,
   PromptAnswer answer
)
Public Shared Function ValidateAnswer( _
   ByVal style As PromptStyle, _
   ByVal answer As PromptAnswer _
) As System.Boolean

Parameters

NameDescription
styleThe prompt style to check the answer against.
answerThe prompt answer to check.

Return Value

Whether or not answer is compatible with style.

See Also