Share via


TimeIntelligenceOperatorToken.Compare Method (Microsoft.PerformancePoint.Scorecards)

Compares operator token precedence.

Namespace: Microsoft.PerformancePoint.Scorecards
Assembly: Microsoft.PerformancePoint.Scorecards.Client (in microsoft.performancepoint.scorecards.client.dll)

Syntax

'Declaration
Public Shared Function Compare ( _
    lhs As TimeIntelligenceOperatorToken, _
    rhs As TimeIntelligenceOperatorToken _
) As Integer
'Usage
Dim lhs As TimeIntelligenceOperatorToken
Dim rhs As TimeIntelligenceOperatorToken
Dim returnValue As Integer

returnValue = TimeIntelligenceOperatorToken.Compare(lhs, rhs)
public static int Compare (
    TimeIntelligenceOperatorToken lhs,
    TimeIntelligenceOperatorToken rhs
)

Parameters

  • lhs
    A token to compare.
  • rhs
    A token to compare.

Return Value

Returns 1 if lhs has higher precendence than rhs, 0 if precedence is equal, and -1 if lhs has lower precedence than rhs.

See Also

Reference

TimeIntelligenceOperatorToken Class
TimeIntelligenceOperatorToken Members
Microsoft.PerformancePoint.Scorecards Namespace