Spread Windows Forms 12.0 Product Documentation
AddExternalVariable(String,ExternalVariable,String) Method


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet Namespace > INames Interface > AddExternalVariable Method : AddExternalVariable(String,ExternalVariable,String) Method
A string value indicates the external variable name.
A ExternalVariable object indicates the external variable name to add.
A string value indicates the associated formula.
Creates a external variable.
Syntax
'Declaration
 
Overloads Function AddExternalVariable( _
   ByVal name As String, _
   ByVal externalVariable As ExternalVariable, _
   Optional ByVal formula As String _
) As Boolean
'Usage
 
Dim instance As INames
Dim name As String
Dim externalVariable As ExternalVariable
Dim formula As String
Dim value As Boolean
 
value = instance.AddExternalVariable(name, externalVariable, formula)
bool AddExternalVariable( 
   string name,
   ExternalVariable externalVariable,
   string formula
)

Parameters

name
A string value indicates the external variable name.
externalVariable
A ExternalVariable object indicates the external variable name to add.
formula
A string value indicates the associated formula.

Return Value

true if the externalVariable object is added successful; otherwise, false.
See Also

Reference

INames Interface
INames Members
Overload List