Excel for WPF and Silverlight
IndexOf Method (XLCommentCollection)

C1.WPF.Excel Namespace > XLCommentCollection Class : IndexOf Method
The XLComment object to look for.
Gets the index of a specific XLComment object in the collection.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal comment As XLComment _
) As System.Integer
public System.int IndexOf( 
   XLComment comment
)

Parameters

comment
The XLComment object to look for.

Return Value

The position of the object in the collection, or -1 if the object is not a member of the collection.
See Also

Reference

XLCommentCollection Class
XLCommentCollection Members