MembershipCollection.IndexOf Method (Microsoft.PerformancePoint.Scorecards)

Searches for the specified 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 Membership _
) As Integer
'Usage
Dim instance As MembershipCollection
Dim value As Membership
Dim returnValue As Integer

returnValue = instance.IndexOf(value)
public virtual int IndexOf (
    Membership 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

MembershipCollection Class
MembershipCollection Members
Microsoft.PerformancePoint.Scorecards Namespace