[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.VariableCollection.Add

Add Method

Add(string, string)

Adds a varibale into the document.

Declaration
public Variable Add(string name, string value)
Public Function Add(name As String, value As String) As Variable
Parameters
Type Name Description
string name

The name of the document variable.

string value

The value for the document variable.

Returns
Type Description
Variable

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