SpreadsheetGear.CustomFunctions Namespace > IArguments Interface : GetText Method |
'Declaration
Function GetText( _ ByVal index As System.Integer _ ) As System.String
'Usage
Dim instance As IArguments Dim index As System.Integer Dim value As System.String value = instance.GetText(index)
System.string GetText( System.int index )
function GetText( index: System.Integer ): System.String;
function GetText( index : System.int ) : System.String;
System.string* GetText( System.int index )
System.String^ GetText( System.int index )
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 IArguments.GetArrayDimensions and IArguments.GetArrayValue to get the dimensions and values of a range or array.
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