Validate Method

Validates that the value set on the specified ProfileProperty is a valid value on this SiteTerm.

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

Syntax

'Declaration
Public Function Validate ( _
    property As ProfileProperty _
) As Boolean
'Usage
Dim instance As SiteTerm
Dim property As ProfileProperty
Dim returnValue As Boolean

returnValue = instance.Validate(property)
public bool Validate(
    ProfileProperty property
)
public:
bool Validate(
    ProfileProperty^ property
)
public function Validate(
    property : ProfileProperty
) : boolean

Parameters

Return Value

Type: System..::.Boolean
true if the validation succeeded; Otherwise, false.

Remarks

Check will be done against the contained SiteTerm data. Validates that the value set on the specified ProfileProperty is a valid value on this SiteTerm.

Permissions

See Also

Reference

SiteTerm Class

SiteTerm Members

Microsoft.CommerceServer.Runtime.Profiles Namespace