Share via


CommentCollection.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 Comment _
) As Integer
'Usage
Dim instance As CommentCollection
Dim value As Comment
Dim returnValue As Integer

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

CommentCollection Class
CommentCollection Members
Microsoft.PerformancePoint.Scorecards Namespace