[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.SimpleFieldCollection.Add

Add Method

Add(string)

Adds a SimpleField to this collection at the End position.

Declaration
public SimpleField Add(string code)
Parameters
Type Name Description
string code

The field code.

Returns
Type Description
SimpleField

The added SimpleField.

Add(string, string)

Adds a SimpleField to this collection at the End position.

Declaration
public SimpleField Add(string code, string result)
Parameters
Type Name Description
string code

The field code.

string result

The result text of the inserted field.

Returns
Type Description
SimpleField

The added SimpleField.

Add(IFieldOptions)

Adds a SimpleField to this collection at the End position.

Declaration
public SimpleField Add(IFieldOptions options)
Parameters
Type Name Description
IFieldOptions options

The field options.

Returns
Type Description
SimpleField

The added SimpleField.