SpreadsheetGear 2010
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

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

See Also

Copyright © 2003-2010 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.