SpreadsheetGear 2017
Add(String,String,ReferenceStyle) Method






SpreadsheetGear Namespace > INames Interface > Add Method : Add(String,String,ReferenceStyle) Method
Specifies the name of the defined name.
Specifies the formula to assign to the defined name.
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
'Declaration
 
Overloads Function Add( _
   ByVal name As System.String, _
   ByVal formula As System.String, _
   ByVal referenceStyle As ReferenceStyle _
) As IName
'Usage
 
Dim instance As INames
Dim name As System.String
Dim formula As System.String
Dim referenceStyle As ReferenceStyle
Dim value As IName
 
value = instance.Add(name, formula, referenceStyle)
IName Add( 
   System.string name,
   System.string formula,
   ReferenceStyle referenceStyle
)
function Add( 
    name: System.String;
    formula: System.String;
    referenceStyle: ReferenceStyle
): IName; 
function Add( 
   name : System.String,
   formula : System.String,
   referenceStyle : ReferenceStyle
) : IName;
IName* Add( 
   System.string* name,
   System.string* formula,
   ReferenceStyle referenceStyle
) 
IName^ Add( 
   System.String^ name,
   System.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 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