SpreadsheetGear The Performance Spreadsheet Component Company 
GetArrayDimensions Method
See Also 
SpreadsheetGear.CustomFunctions Namespace > IArguments Interface : GetArrayDimensions Method
index
Specifies the zero based index of the argument.
rows
Set to the number of rows in the specified argument, or one for a simple argument.
columns
Set to the number columns in the specified argument, or one for a simple argument.
Returns the dimensions, consisting of the number of rows and columns, of the specified argument.

Syntax

C# 
virtual void GetArrayDimensions( 
   int index,
   out int rows,
   out int columns
)

Parameters

index
Specifies the zero based index of the argument.
rows
Set to the number of rows in the specified argument, or one for a simple argument.
columns
Set to the number columns in the specified argument, or one for a simple argument.

Remarks

This method returns the dimensions of ranges and arrays. For simple values, one is returned for rows and columns.

Requirements

Platforms: Windows 98, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family. SpreadsheetGear for .NET 1.x requires the Microsoft .NET Framework 1.1 or .NET 2.0. SpreadsheetGear for .NET 2006 requires the Microsoft .NET Framework 2.0.

See Also