Revit 2016 API |
ElementArray..::..Item Property |
ElementArray Class See Also |
Gets or sets an element at a specified index within the array.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 16.0.0.0 (16.0.0.0)
Syntax
C# |
---|
public virtual Element this[ int index ] { get; set; } |
Visual Basic |
---|
Public Overridable Property Item ( _ index As Integer _ ) As Element Get Set |
Visual C++ |
---|
public: virtual property Element^ Item[int index] { Element^ get (int index); void set (int index, Element^ value); } |
Parameters
- index
- Type: System..::..Int32
The index of the element to be set or retrieved.