Spread WPF 18
GrapeCity.Spreadsheet Namespace / INames Interface / AddExternalVariable Method / AddExternalVariable<T>(String,String) Method
The external variable type that implement ExternalVariable.
A string value indicates the external variable name.
A string value indicates the associated formula.


In This Topic
    AddExternalVariable<T>(String,String) Method
    In This Topic
    Creates a external variable.
    Syntax
    'Declaration
     
    Overloads Function AddExternalVariable(Of T As {New, ExternalVariable})( _
       ByVal name As String, _
       ByVal formula As String _
    ) As T
    'Usage
     
    Dim instance As INames
    Dim name As String
    Dim formula As String
    Dim value As T
     
    value = instance.AddExternalVariable(Of T)(name, formula)
    T AddExternalVariable<T>( 
       string name,
       string formula
    )
    where T: new(), ExternalVariable

    Parameters

    name
    A string value indicates the external variable name.
    formula
    A string value indicates the associated formula.

    Type Parameters

    T
    The external variable type that implement ExternalVariable.

    Return Value

    A <T> object indicates the new external variable.
    See Also