Documents for Word .NET Edition
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / VariableCollection Class / Add Method
The name of the document variable.
The value for the document variable.

In This Topic
    Add Method (VariableCollection)
    In This Topic
    Adds a varibale into the document.
    Syntax
    'Declaration
     
    Public Function Add( _
       ByVal name As System.String, _
       ByVal value As System.String _
    ) As Variable
    public Variable Add( 
       System.string name,
       System.string value
    )

    Parameters

    name
    The name of the document variable.
    value
    The value for the document variable.

    Return Value

    A Variable object that represents a variable added to a document.
    See Also