Spread Windows Forms 6.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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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