Partilhar via


ValidateUserAnswer Method

Validates the answer for the user.

Namespace:  Microsoft.CommerceServer.Runtime.Profiles
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Overridable Function ValidateUserAnswer ( _
    answer As String _
) As Boolean
'Usage
Dim instance As UpmMembershipUser
Dim answer As String
Dim returnValue As Boolean

returnValue = instance.ValidateUserAnswer(answer)
public virtual bool ValidateUserAnswer(
    string answer
)
public:
virtual bool ValidateUserAnswer(
    String^ answer
)
public function ValidateUserAnswer(
    answer : String
) : boolean

Parameters

Return Value

Type: System..::.Boolean
true if the answer is valid for the user; otherwise false.

Remarks

Validates the answer for the user.

Permissions

See Also

Reference

UpmMembershipUser Class

UpmMembershipUser Members

Microsoft.CommerceServer.Runtime.Profiles Namespace