Revit 2026 API
Reference |
Insert the specified reference into the array.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public virtual void Insert( Reference item, int index )
Public Overridable Sub Insert ( item As Reference, index As Integer )
public: virtual void Insert( Reference^ item, int index )
abstract Insert : item : Reference * index : int -> unit override Insert : item : Reference * index : int -> unit
Parameters
- item Reference
- The reference to be inserted into the array.
- index Int32
- The reference will be inserted before this index.
Return Value
Returns whether the reference was inserted into the array.See Also