GrapeCity.Win.MultiRow Namespace > RowCollection Class > GetLastRow Method : GetLastRow(Int32,Int32,MultiRowElementStates,MultiRowElementStates) Method |
<FeatureAttribute(Name="RowCollection", Version="v5.0")> Public Overloads Function GetLastRow( _ ByVal viewportRowIndex As Integer, _ ByVal viewportColumnIndex As Integer, _ ByVal includeFilter As MultiRowElementStates, _ ByVal excludeFilter As MultiRowElementStates _ ) As Integer
Dim instance As RowCollection Dim viewportRowIndex As Integer Dim viewportColumnIndex As Integer Dim includeFilter As MultiRowElementStates Dim excludeFilter As MultiRowElementStates Dim value As Integer value = instance.GetLastRow(viewportRowIndex, viewportColumnIndex, includeFilter, excludeFilter)
[Feature(Name="RowCollection", Version="v5.0")] public int GetLastRow( int viewportRowIndex, int viewportColumnIndex, MultiRowElementStates includeFilter, MultiRowElementStates excludeFilter )
Exception | Description |
---|---|
System.ComponentModel.InvalidEnumArgumentException | The includeFilter parameter has an invalid value for the MultiRowElementStates enumeration. -or- The excludeFilter parameter has an invalid value for the MultiRowElementStates enumeration. |
System.ArgumentOutOfRangeException | The viewportRowIndex is less than 0 or greater than the number of viewports in the vertical orientation minus 1. -or- The viewportColumnIndex is less than 0 or greater than the number of viewports in the horizontal orientation minus 1. |
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