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
loc
Type: Microsoft.PerformancePoint.Scorecards.RepositoryLocationThe location of the object in the repository.
Return Value
Type: System.Int32
The index of the object with the specified location, if found; otherwise -1.