Share via


SiteTermElement.CompareTo (Object) Method (BCL)

Use this method to compares the SiteTermElement to a given object of type SiteTermElement.

Definition

[Visual Basic .NET]

Overridable Public Function CompareTo( _ByValobj As System.Object _
) As Integer

[C#]

public virtual Integer CompareTo(System.Objectobj);

Parameters

[Visual Basic .NET]

  • obj
    The object to be compared to.

[C#]

  • obj
    The object to be compared to.

Return Value

If the return value is less than 0, the name member of the SiteTerm element object is less than the name member of the input parameter.

If the return value is equal to 0, the name member of the SiteTerm element object is equal to the name member of the input parameter.

If the return value is greater than 0, the name member of the SiteTerm element object is greater than the name member of the input parameter.

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.