[]
Represents a collection of SimpleField objects.
public class SimpleFieldCollection : ContentObjectCollection<SimpleField>, IContentList<SimpleField>, IReadOnlyList<SimpleField>, IReadOnlyCollection<SimpleField>, IEnumerable<SimpleField>, IEnumerable
Adds a SimpleField to this collection at the End position.
public SimpleField Add(IFieldOptions options)
options IFieldOptionsThe field options.
The added SimpleField.
Adds a SimpleField to this collection at the End position.
public SimpleField Add(string code)
code stringThe field code.
The added SimpleField.
Adds a SimpleField to this collection at the End position.
public SimpleField Add(string code, string result)
The added SimpleField.
Inserts a SimpleField into this collection at a specified location.
public SimpleField Insert(IFieldOptions options, InsertLocation location)
options IFieldOptionsThe field code.
location InsertLocationThe target InsertLocation for the insertion.
The inserted SimpleField.
Inserts a SimpleField into this collection at a specified location.
public SimpleField Insert(string code, InsertLocation location)
code stringThe field code.
location InsertLocationThe target InsertLocation for the insertion.
The inserted SimpleField.
Inserts a SimpleField into this collection at a specified location.
public SimpleField Insert(string code, string result, InsertLocation location)
code stringThe field code.
result stringThe result text of the inserted field.
location InsertLocationThe target InsertLocation for the insertion.
The inserted SimpleField.