SiteTerm.Validate (Object) Method (BCL)

Use this method to validate that the value set on the specified ProfileProperty is a valid value on this SiteTerm object.

Definition

[Visual Basic .NET]

Public Function Validate( _
ByVal property As ProfileProperty _
) As Boolean

[C#]

public Boolean Validate(ProfileProperty property);

Parameters

[Visual Basic .NET]

  • property
    The ProfileProperty to be validated.

[C#]

  • property
    The ProfileProperty to be validated.

Return Value

A Boolean indicating whether the ProfileProperty is valid. A value of true indicates that the ProfileProperty is valid.

Remarks

A check will be done against the contained site term data.

Requirements

Namespace: Microsoft.CommerceServer.Runtime.Profiles

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

See Also

Code to Build a Login Page

Code to Use the SiteTerm Class

Copyright © 2005 Microsoft Corporation.
All rights reserved.