[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.ComplexFieldCollection

Class ComplexFieldCollection

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

Represents a collection of ComplexField objects.

public class ComplexFieldCollection : ContentRangeCollection<ComplexField>, IContentList<ComplexField>, IReadOnlyList<ComplexField>, IReadOnlyCollection<ComplexField>, IEnumerable<ComplexField>, IEnumerable
Inheritance
object
ComplexFieldCollection
Implements
System.Collections.Generic.IReadOnlyList<T><ComplexField>
System.Collections.Generic.IReadOnlyCollection<T><ComplexField>
System.Collections.Generic.IEnumerable<T><ComplexField>
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, string)

Adds a ComplexField to this collection.

public ComplexField Add(string code, string result = null)

Parameters

code string

The complex field code.

result string

The result text of the added field.

Returns

ComplexField

The added ComplexField.

Insert(string, InsertLocation)

Inserts a ComplexField into this collection at the specified location.

public ComplexField Insert(string code, InsertLocation location)

Parameters

code string

The complex field code.

location InsertLocation

The target InsertLocation for the insertion.

Returns

ComplexField

The inserted ComplexField.

Insert(string, string, InsertLocation)

Inserts a ComplexField into this collection at the specified location.

public ComplexField Insert(string code, string result, InsertLocation location)

Parameters

code string

The complex field code.

result string

The result text of the inserted field.

location InsertLocation

The target InsertLocation for the insertion.

Returns

ComplexField

The inserted ComplexField.