Share via


RepositoryLocation constructor (String, Int32)

Initializes a new instance of the RepositoryLocation class based on the specified list URL and item identifier.

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

Syntax

'Declaration
Public Sub New ( _
    listUrl As String, _
    index As Integer _
)
'Usage
Dim listUrl As String
Dim index As Integer

Dim instance As New RepositoryLocation(listUrl, _
    index)
public RepositoryLocation(
    string listUrl,
    int index
)

Parameters

  • listUrl
    Type: System.String

    The server-relative URL of the SharePoint document library or list.

  • index
    Type: System.Int32

    The identifier of the item (content type).

Remarks

This constructor generates a valid and unique URL that can be used by the GetHashCode() method.

See also

Reference

RepositoryLocation class

RepositoryLocation members

RepositoryLocation overload

Microsoft.PerformancePoint.Scorecards namespace