GrapeCity MultiRow Windows Forms Documentation
GetFirstRow(MultiRowElementStates,MultiRowElementStates) Method


A bitwise combination of MultiRowElementStates values.
A bitwise combination of MultiRowElementStates values.
Retrieves the index of the first row that meets the specified inclusion and exclusion criteria.
Syntax
<FeatureAttribute(Name="RowCollection", Version="v5.0")>
Public Overloads Function GetFirstRow( _
   ByVal includeFilter As MultiRowElementStates, _
   ByVal excludeFilter As MultiRowElementStates _
) As Integer
Dim instance As RowCollection
Dim includeFilter As MultiRowElementStates
Dim excludeFilter As MultiRowElementStates
Dim value As Integer
 
value = instance.GetFirstRow(includeFilter, excludeFilter)
[Feature(Name="RowCollection", Version="v5.0")]
public int GetFirstRow( 
   MultiRowElementStates includeFilter,
   MultiRowElementStates excludeFilter
)

Parameters

includeFilter
A bitwise combination of MultiRowElementStates values.
excludeFilter
A bitwise combination of MultiRowElementStates values.

Return Value

A System.Int32 that indicates the index of the first row that has the attributes specified by includeFilter; -1 if no row is found.
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentException

The includeFilter has an invalid value for the MultiRowElementStates enumeration.

-or-

The excludeFilter has an invalid value for the MultiRowElementStates enumeration.

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

RowCollection Class
RowCollection Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.