GrapeCity MultiRow Windows Forms Documentation
IndexOf Method (ColumnHeaderSectionCollection)


The ColumnHeaderSection to locate in the ColumnHeaderSectionCollection.
Determines the index of a specific item in the ColumnHeaderSectionCollection.
Syntax
Public Function IndexOf( _
   ByVal columnHeader As ColumnHeaderSection _
) As Integer
Dim instance As ColumnHeaderSectionCollection
Dim columnHeader As ColumnHeaderSection
Dim value As Integer
 
value = instance.IndexOf(columnHeader)
public int IndexOf( 
   ColumnHeaderSection columnHeader
)

Parameters

columnHeader
The ColumnHeaderSection to locate in the ColumnHeaderSectionCollection.

Return Value

A System.Int32 that indicates the columnHeader index if it is a ColumnHeaderSection found in the ColumnHeaderSectionCollection; otherwise, -1.
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

Reference

ColumnHeaderSectionCollection Class
ColumnHeaderSectionCollection Members

 

 


Copyright © GrapeCity, inc. All rights reserved.