Spread for ASP.NET 9.0 Product Documentation
IndexOf Method (LineCollection)


Line to locate in collection.
Determines the index of the line in the collection.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal item As Line _
) As Integer
'Usage
 
Dim instance As LineCollection
Dim item As Line
Dim value As Integer
 
value = instance.IndexOf(item)
public int IndexOf( 
   Line item
)

Parameters

item
Line to locate in collection.

Return Value

Index of the line if line is found in the collection; otherwise -1.
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

LineCollection Class
LineCollection Members

 

 


Copyright © GrapeCity, inc. All rights reserved.