[]
        
(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
object
FieldCodeCollection
Implements
System.Collections.Generic.IReadOnlyList<T><FieldCode>
System.Collections.Generic.IReadOnlyCollection<T><FieldCode>
System.Collections.Generic.IEnumerable<T><FieldCode>
System.Collections.IEnumerable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

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.