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.
Public Function IndexOf( _
   ByVal comment As XLComment _
) As System.Integer
public System.int IndexOf( 
   XLComment 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


XLCommentCollection Class
XLCommentCollection Members