[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.FieldCodeCollection

Class FieldCodeCollection

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

Represents a collection of FieldCode objects.

public class FieldCodeCollection : ContentObjectCollection<FieldCode>, IContentList<FieldCode>, IReadOnlyList<FieldCode>, IReadOnlyCollection<FieldCode>, IEnumerable<FieldCode>, IEnumerable
Inheritance
FieldCodeCollection
Implements
Inherited Members

Methods

Add(string)

Adds a FieldCode to this collection.

public FieldCode Add(string code)

Parameters

code string

The field code to add.

Returns

FieldCode

The added FieldCode.

Insert(string, FieldCode)

Inserts a FieldCode into this collection before another field code.

public FieldCode Insert(string code, FieldCode before)

Parameters

code string

The field code to insert.

before FieldCode

The FieldCode object before which to insert the new one. If this parameter is null, the new code will be added to the end of the collection.

Returns

FieldCode

The inserted FieldCode.