다음을 통해 공유


ElementCollectionBase<ElementCollectionType, ElementType>.IndexOfNameSafe Method

Returns the index of the object 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 ElementCollectionBase
Dim name As String
Dim returnValue As ElementType

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

Parameters

Return Value

Type: ElementType
The index of the object, if it exists; otherwise a null reference (Nothing in Visual Basic).

See Also

Reference

ElementCollectionBase<ElementCollectionType, ElementType> Class

ElementCollectionBase<ElementCollectionType, ElementType> Members

Microsoft.PerformancePoint.Scorecards Namespace