SpreadsheetGear
Add(String,String,ReferenceStyle) Method
See Also  Send Feedback
SpreadsheetGear Namespace > INames Interface > Add Method : Add(String,String,ReferenceStyle) Method

name
Specifies the name of the defined name.
formula
Specifies the formula to assign to the defined name.
referenceStyle
Specifies the ReferenceStyle to use.
Adds a name to the collection using the specified reference style, or modifies the name if it already exists.

Syntax

Visual Basic (Declaration) 
Overloads Function Add( _
   ByVal name As String, _
   ByVal formula As String, _
   ByVal referenceStyle As ReferenceStyle _
) As IName
C# 
IName Add( 
   string name,
   string formula,
   ReferenceStyle referenceStyle
)

Parameters

name
Specifies the name of the defined name.
formula
Specifies the formula to assign to the defined name.
referenceStyle
Specifies the ReferenceStyle to use.

Return Value

The newly created or modified defined name.

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.