FirstClassElementCollectionBase<ElementCollectionType, ElementType>.IndexOfNameSafe Method

Returns the item with the specified name.

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

Syntax

'Declaration
Public Function IndexOfNameSafe ( _
    name As String _
) As ElementType
'Usage
Dim instance As FirstClassElementCollectionBase
Dim name As String
Dim returnValue As ElementType

returnValue = instance.IndexOfNameSafe(name)
public ElementType IndexOfNameSafe(
    string name
)

Parameters

Return Value

Type: ElementType
Returns Int32, or returns a null reference (Nothing in Visual Basic) if the item does not exist.

See Also

Reference

FirstClassElementCollectionBase<ElementCollectionType, ElementType> Class

FirstClassElementCollectionBase<ElementCollectionType, ElementType> Members

Microsoft.PerformancePoint.Scorecards Namespace