Share via


NamedSetCollection.IndexOf Method (Microsoft.PerformancePoint.Scorecards)

Searches for a specific item and returns the zero-based index of the first occurrence within the collection.

Namespace: Microsoft.PerformancePoint.Scorecards
Assembly: Microsoft.PerformancePoint.Scorecards.Client (in microsoft.performancepoint.scorecards.client.dll)

Syntax

'Declaration
Public Overridable Function IndexOf ( _
    value As NamedSet _
) As Integer
'Usage
Dim instance As NamedSetCollection
Dim value As NamedSet
Dim returnValue As Integer

returnValue = instance.IndexOf(value)
public virtual int IndexOf (
    NamedSet value
)

Parameters

  • value
    The item to locate.

Return Value

The zero-based index of the first occurrence of the item within the collection, if found. Otherwise, returns -1.

See Also

Reference

NamedSetCollection Class
NamedSetCollection Members
Microsoft.PerformancePoint.Scorecards Namespace