如何加入您的知識

Collections

    Most Revit Platform API properties and methods use customized collection classes defined in the Revit Platform API when providing access to a group of related items. These collections are of one of three basic types:

    • Array
    • Set
    • Map

    These collection classes were written before generic type-safe .NET classes like List<T> existed.

    The IEnumerable and IEnumerator interfaces implemented in Revit collection types are defined in the System.Collection namespace.