Skip to main content
All docs
V26.1
  • FragmentCollection Methods

    A collection of content fragments.
    Name Description
    Add(T) Inherited from ObjectCollectionBase<T>.
    Clear() Inherited from ObjectCollectionBase<T>.
    Clone() Creates a copy of the FragmentCollection instance.
    Clone(DocumentCloneContext) Creates a copy of the FragmentCollection instance using the specified context.
    Contains(T) Inherited from ObjectCollectionBase<T>.
    CopyTo(T[], Int32) Inherited from ObjectCollectionBase<T>.
    Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
    Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
    Find(Predicate<PageFragment>, out FragmentCollection) Finds the first content fragment that matches the specified condition and identifies the collection that contains this fragment.
    Find(Predicate<PageFragment>) Finds the first content fragment that matches the specified condition.
    FindAll(Predicate<PageFragment>, out Dictionary<PageFragment, FragmentCollection>) Finds all content fragments that match the specified condition and maps each fragment to its collection.
    FindAll(Predicate<PageFragment>) Finds all content fragments that match the specified condition.
    GetEnumerator() Inherited from ObjectCollectionBase<T>.
    GetHashCode() Serves as the default hash function. Inherited from Object.
    GetType() Gets the Type of the current instance. Inherited from Object.
    IndexOf(T) Inherited from ObjectCollectionBase<T>.
    Insert(Int32, T) Inherited from ObjectCollectionBase<T>.
    MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
    ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
    Remove(T) Inherited from ObjectCollectionBase<T>.
    RemoveAt(Int32) Inherited from ObjectCollectionBase<T>.
    Replace(PageFragment, PageFragment[]) Replaces a content fragment in the collection with one or more new fragments.
    ToFlatEnumerable() Converts a fragment collection into a flattened collection that contains all document fragments.
    ToString() Returns a string that represents the current object. Inherited from Object.
    See Also