Spread for ASP.NET 7.0 Product Documentation
GetColumnIndex Method
See Also  Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > DefaultSheetDataModel Class : GetColumnIndex Method


columnName
Column name

Glossary Item Box

Gets the index of the column specified by name.

Syntax

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

Parameters

columnName
Column name

Return Value

Integer number for the column index

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

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