GrapeCity.Win.MultiRow Namespace > RowCollection Class > GetPreviousRow Method : GetPreviousRow(Int32,MultiRowElementStates,MultiRowElementStates) Method |
Public Overloads Function GetPreviousRow( _ ByVal indexStart As Integer, _ ByVal includeFilter As MultiRowElementStates, _ ByVal excludeFilter As MultiRowElementStates _ ) As Integer
Dim instance As RowCollection Dim indexStart As Integer Dim includeFilter As MultiRowElementStates Dim excludeFilter As MultiRowElementStates Dim value As Integer value = instance.GetPreviousRow(indexStart, includeFilter, excludeFilter)
public int GetPreviousRow( int indexStart, MultiRowElementStates includeFilter, MultiRowElementStates excludeFilter )
Exception | Description |
---|---|
System.ComponentModel.InvalidEnumArgumentException | The includeFilter has an invalid value for the MultiRowElementStates enumeration. -or- The excludeFilter has an invalid value for the MultiRowElementStates enumeration. |
System.ArgumentOutOfRangeException | The indexStart is less than 1 or greater than the number of Rows in the collection. |
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