Spread ASP.NET 6.0 Product Documentation
GetColumnIndex Method
See Also  Send Feedback
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.