alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class SFArrayList<T>

    Extends List with MoveRange, InsertRange and RemoveRange methods. The Item property will grow the array on demand or return NULL if an index is out of range.

    Inheritance
    object
    List<T>
    SFArrayList<T>
    Implements
    IList<T>
    ICollection<T>
    IList
    ICollection
    IReadOnlyList<T>
    IReadOnlyCollection<T>
    IEnumerable<T>
    IEnumerable
    ICloneable
    Inherited Members
    List<T>.Add(T)
    List<T>.AddRange(IEnumerable<T>)
    List<T>.AsReadOnly()
    List<T>.BinarySearch(int, int, T, IComparer<T>)
    List<T>.BinarySearch(T)
    List<T>.BinarySearch(T, IComparer<T>)
    List<T>.Capacity
    List<T>.Clear()
    List<T>.Contains(T)
    List<T>.ConvertAll<TOutput>(Converter<T, TOutput>)
    List<T>.CopyTo(int, T[], int, int)
    List<T>.CopyTo(T[])
    List<T>.CopyTo(T[], int)
    List<T>.Count
    List<T>.Exists(Predicate<T>)
    List<T>.Find(Predicate<T>)
    List<T>.FindAll(Predicate<T>)
    List<T>.FindIndex(int, int, Predicate<T>)
    List<T>.FindIndex(int, Predicate<T>)
    List<T>.FindIndex(Predicate<T>)
    List<T>.FindLast(Predicate<T>)
    List<T>.FindLastIndex(int, int, Predicate<T>)
    List<T>.FindLastIndex(int, Predicate<T>)
    List<T>.FindLastIndex(Predicate<T>)
    List<T>.ForEach(Action<T>)
    List<T>.GetEnumerator()
    List<T>.GetRange(int, int)
    List<T>.IndexOf(T)
    List<T>.IndexOf(T, int)
    List<T>.IndexOf(T, int, int)
    List<T>.Insert(int, T)
    List<T>.InsertRange(int, IEnumerable<T>)
    List<T>.LastIndexOf(T)
    List<T>.LastIndexOf(T, int)
    List<T>.LastIndexOf(T, int, int)
    List<T>.Remove(T)
    List<T>.RemoveAll(Predicate<T>)
    List<T>.RemoveAt(int)
    List<T>.RemoveRange(int, int)
    List<T>.Reverse()
    List<T>.Reverse(int, int)
    List<T>.Sort()
    List<T>.Sort(Comparison<T>)
    List<T>.Sort(IComparer<T>)
    List<T>.Sort(int, int, IComparer<T>)
    List<T>.ToArray()
    List<T>.TrimExcess()
    List<T>.TrueForAll(Predicate<T>)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.XlsIO.Implementation.Collections
    Assembly: Syncfusion.XlsIO.NET.dll
    Syntax
    public class SFArrayList<T> : List<T>, IList<T>, ICollection<T>, IList, ICollection, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, ICloneable where T : class
    Type Parameters
    Name
    T

    Constructors

    SFArrayList()

    Overloaded. Initializes a new instance of the SFArrayList class that is empty and has the default initial capacity.

    Declaration
    public SFArrayList()

    SFArrayList(ICollection<T>)

    Initializes a new instance of the SFArrayList class that contains elements copied from the specified collection and has the same initial capacity as the number of elements copied.

    Declaration
    public SFArrayList(ICollection<T> c)
    Parameters
    Type Name Description
    ICollection<T> c

    The ICollection whose elements are copied to the new list.

    Properties

    this[int]

    Gets / sets the element at the specified index. In C#, this property is the indexer for the SFArrayList class.

    Declaration
    public T this[int index] { get; set; }
    Parameters
    Type Name Description
    int index

    The zero-based index of the element to get / set.

    Property Value
    Type Description
    T

    The element at the specified index. When querying the value and the index is out of range, an empty (null) object will be returned. When setting the value and the index is out of range the array will be enlarged. See SFArrayList.EnsureCount

    Methods

    Clone()

    Overridden. Creates a deep copy of the SFArrayList.

    Declaration
    public object Clone()
    Returns
    Type Description
    object

    A deep copy of the SFArrayList.

    Clone(object)

    Overridden. Creates a deep copy of the SFArrayList.

    Declaration
    public object Clone(object parent)
    Parameters
    Type Name Description
    object parent

    Parent object for the new items.

    Returns
    Type Description
    object

    A deep copy of the SFArrayList.

    EnsureCount(int)

    Enlarges the array if needed.

    Declaration
    public void EnsureCount(int value)
    Parameters
    Type Name Description
    int value

    The size to be checked. If the array has less elements, empty (null) objects will be appended at the end of the array.

    Implements

    IList<T>
    ICollection<T>
    IList
    ICollection
    IReadOnlyList<T>
    IReadOnlyCollection<T>
    IEnumerable<T>
    IEnumerable
    ICloneable

    Extension Methods

    CalcEngineHelper.ToArray<T>(IEnumerable<T>)
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved