FirstClassElementCollectionBase<ElementCollectionType, ElementType>.IndexOfLocationSafe Method

Returns the index of an object.

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

Syntax

'Declaration
Public Function IndexOfLocationSafe ( _
    location As RepositoryLocation _
) As ElementType
'Usage
Dim instance As FirstClassElementCollectionBase
Dim location As RepositoryLocation
Dim returnValue As ElementType

returnValue = instance.IndexOfLocationSafe(location)
public ElementType IndexOfLocationSafe(
    RepositoryLocation location
)

Parameters

Return Value

Type: ElementType
The index of the object, or a null reference (Nothing in Visual Basic) if the object does not exist at the specified location.

See Also

Reference

FirstClassElementCollectionBase<ElementCollectionType, ElementType> Class

FirstClassElementCollectionBase<ElementCollectionType, ElementType> Members

Microsoft.PerformancePoint.Scorecards Namespace