Share via


VersionInfoCollection.IndexOfLocation method

Returns the index of the object with the specified location.

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

Syntax

'Declaration
Public Overridable Function IndexOfLocation ( _
    loc As RepositoryLocation _
) As Integer
'Usage
Dim instance As VersionInfoCollection
Dim loc As RepositoryLocation
Dim returnValue As Integer

returnValue = instance.IndexOfLocation(loc)
public virtual int IndexOfLocation(
    RepositoryLocation loc
)

Parameters

Return value

Type: System.Int32
The index of the object with the specified location, if found; otherwise -1.

See also

Reference

VersionInfoCollection class

VersionInfoCollection members

Microsoft.PerformancePoint.Scorecards namespace