Share via


Annotation.GenerateKey method (RepositoryLocation, Int32, Int32)

Generates a cache key for this annotation.

Namespace:  Microsoft.PerformancePoint.Scorecards
Assembly:  Microsoft.PerformancePoint.Scorecards.Client (in Microsoft.PerformancePoint.Scorecards.Client.dll)

Syntax

'Declaration
Public Shared Function GenerateKey ( _
    scorecardLocation As RepositoryLocation, _
    sliceHashCode As Integer, _
    cellPathHashCode As Integer _
) As String
'Usage
Dim scorecardLocation As RepositoryLocation
Dim sliceHashCode As Integer
Dim cellPathHashCode As Integer
Dim returnValue As String

returnValue = Annotation.GenerateKey(scorecardLocation, _
    sliceHashCode, cellPathHashCode)
public static string GenerateKey(
    RepositoryLocation scorecardLocation,
    int sliceHashCode,
    int cellPathHashCode
)

Parameters

  • sliceHashCode
    Type: System.Int32

    The hash code that represents the scorecard slice that the annotation is associated with.

  • cellPathHashCode
    Type: System.Int32

    The hash code that represents the coordinates of the scorecard cell that the annotation is associated with.

Return value

Type: System.String
A cache key for this annotation.

See also

Reference

Annotation class

Annotation members

GenerateKey overload

Microsoft.PerformancePoint.Scorecards namespace