SpreadsheetGear
GetText Method
See Also  Send Feedback
SpreadsheetGear.CustomFunctions Namespace > IArguments Interface : GetText Method

index
Returns the argument specified by the zero based index as a string. Note that this method has the side effect of converting a range or array to a single value.

Syntax

Visual Basic (Declaration) 
Function GetText( _
   ByVal index As Integer _
) As String
C# 
string GetText( 
   int index
)

Parameters

index

Remarks

Non-text arguments are converted to text if possible. Otherwise, a zero length string is returned by this method, and an internal flag is set indicating that an error has occurred, causing the result of the formula to be an error.

Note that this method has the side effect of converting a range or array to a single value. Use GetArrayDimensions and GetArrayValue to get the dimensions and values of a range or array.

Requirements

Platforms: Windows 2000, Windows XP, Windows Vista, Windows Server 2003 and Windows Server 2008. SpreadsheetGear 2009 requires the Microsoft .NET Framework 2.0 and supports .NET 3.0 and .NET 3.5.

See Also

Copyright © 2003-2009 SpreadsheetGear LLC. All Rights Reserved.Help Powered by Innovasys   
SpreadsheetGear is a registered trademark of SpreadsheetGear LLC.
Microsoft, Microsoft Excel and Visual Studio are trademarks or registered trademarks of Microsoft Corporation.