Version

Add(String,String) Method

Creates a new named reference with the specified key and formula, then adds it directly to the collection.
Syntax
'Declaration
 
Public Overloads Function Add( _
   ByVal namedReferenceKey As String, _
   ByVal formula As String _
) As NamedReference

Parameters

namedReferenceKey
Key naming the new NamedReference instance.
formula
The formula (or constant) to be referenced by this name.

Return Value

Returns the newly created NamedReference instance.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, 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