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

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

Syntax

Visual Basic (Declaration) 
Function GetLogical( _
   ByVal index As Integer _
) As Boolean
C# 
bool GetLogical( 
   int index
)

Parameters

index

Remarks

Non-logical arguments are converted to a logical value if possible. Otherwise, false 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.