See Also

INames Interface  | INames Members  | Overload List

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

C++

C++/CLI

Show All

name
Specifies the name of the defined name.
formula
Specifies the formula to assign to the defined name.
referenceStyle
Specifies the ReferenceStyle to use.
See Also Languages SpreadsheetGear The Performance Spreadsheet Component Company 

Add(String,String,ReferenceStyle) Method

SpreadsheetGear Namespace > INames Interface > Add Method : Add(String,String,ReferenceStyle) Method

Adds a name to the collection using the specified reference style, or modifies the name if it already exists.

[Visual Basic]
Overloads Overridable Function Add( _    ByVal name As String, _    ByVal formula As String, _    ByVal referenceStyle As ReferenceStyle _ ) As IName
[C#]
virtual IName Add(    string name,    string formula,    ReferenceStyle referenceStyle );
[C++]
virtual IName* Add(    string* name,    string* formula,    ReferenceStyle referenceStyle )
[C++/CLI]
virtual 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 Type

The newly created or modified defined name.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

INames Interface  | INames Members  | Overload List

 

 


See our live Excel Reporting, Excel Charting, Excel to DataGrid and Excel Calculation Samples.

Copyright © 2003-2007 SpreadsheetGear LLC. All Rights Reserved.

SpreadsheetGear and Spreadsheet Gear are trademarks of SpreadsheetGear LLC.