[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.SimpleFieldCollection

Class SimpleFieldCollection

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

Represents a collection of SimpleField objects.

public class SimpleFieldCollection : ContentObjectCollection<SimpleField>, IContentList<SimpleField>, IReadOnlyList<SimpleField>, IReadOnlyCollection<SimpleField>, IEnumerable<SimpleField>, IEnumerable
Inheritance
object
SimpleFieldCollection
Implements
System.Collections.Generic.IReadOnlyList<T><SimpleField>
System.Collections.Generic.IReadOnlyCollection<T><SimpleField>
System.Collections.Generic.IEnumerable<T><SimpleField>
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 SimpleField to this collection at the End position.

public SimpleField Add(string code, string result)

Parameters

code string

The field code.

result string

The result text of the inserted field.

Returns

SimpleField

The added SimpleField.

Add(string)

Adds a SimpleField to this collection at the End position.

public SimpleField Add(string code)

Parameters

code string

The field code.

Returns

SimpleField

The added SimpleField.

Insert(string, InsertLocation)

Inserts a SimpleField into this collection at a specified location.

public SimpleField Insert(string code, InsertLocation location)

Parameters

code string

The field code.

location InsertLocation

The target InsertLocation for the insertion.

Returns

SimpleField

The inserted SimpleField.

Insert(string, string, InsertLocation)

Inserts a SimpleField into this collection at a specified location.

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

Parameters

code string

The field code.

result string

The result text of the inserted field.

location InsertLocation

The target InsertLocation for the insertion.

Returns

SimpleField

The inserted SimpleField.