Spread Windows Forms 7.0 Product Documentation
IndexOf(String) Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Data Namespace > SpreadDataColumnCollection Class > IndexOf Method : IndexOf(String) Method


columnName
Name of the column

Glossary Item Box

Gets the index of the column with specified name

Syntax

Visual Basic (Declaration) 
Public Overloads Function IndexOf( _
   ByVal columnName As String _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As SpreadDataColumnCollection
Dim columnName As String
Dim value As Integer
 
value = instance.IndexOf(columnName)
C# 
public int IndexOf( 
   string columnName
)

Parameters

columnName
Name of the column

Return Value

Integer column index

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.