FirstClassElementCollectionBase<ElementCollectionType, ElementType>.IndexOfLocationSafe method

Returns an elementtype if it exists with the given location, otherwise it returns null.

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

See also

Reference

FirstClassElementCollectionBase<ElementCollectionType, ElementType> class

FirstClassElementCollectionBase<ElementCollectionType, ElementType> members

Microsoft.PerformancePoint.Scorecards namespace