DataSourceVariableCollection.IndexOf Method (Microsoft.PerformancePoint.Scorecards)

Searches for an 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 Function IndexOf ( _
    value As DataSourceVariable _
) As Integer
'Usage
Dim instance As DataSourceVariableCollection
Dim value As DataSourceVariable
Dim returnValue As Integer

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

DataSourceVariableCollection Class
DataSourceVariableCollection Members
Microsoft.PerformancePoint.Scorecards Namespace