SpreadsheetGear 2017
Add(String,String) Method






SpreadsheetGear Namespace > INames Interface > Add Method : Add(String,String) Method
Specifies the name of the defined name.
Specifies the formula to assign to the defined name.
Adds a name to the collection using the default reference style for the IWorkbookSet, or modifies the name if it already exists.
Syntax
'Declaration
 
Overloads Function Add( _
   ByVal name As System.String, _
   ByVal formula As System.String _
) As IName
'Usage
 
Dim instance As INames
Dim name As System.String
Dim formula As System.String
Dim value As IName
 
value = instance.Add(name, formula)
IName Add( 
   System.string name,
   System.string formula
)
function Add( 
    name: System.String;
    formula: System.String
): IName; 
function Add( 
   name : System.String,
   formula : System.String
) : IName;
IName* Add( 
   System.string* name,
   System.string* formula
) 
IName^ Add( 
   System.String^ name,
   System.String^ formula
) 

Parameters

name
Specifies the name of the defined name.
formula
Specifies the formula to assign to the defined name.

Return Value

The newly created or modified defined name.
Requirements

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

See Also

Reference

INames Interface
INames Members
Overload List