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
- property
Type: Microsoft.CommerceServer.Runtime.Profiles..::.ProfileProperty
ProfileProperty to be validated.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.