Item Property


Gets or sets an item at a specified index within the array.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)

Syntax

C#
public virtual IntersectionResult this[
	int index
] { get; set; }
Visual Basic
Public Overridable Property Item ( _
	index As Integer _
) As IntersectionResult
	Get
	Set
Visual C++
public:
virtual property IntersectionResult^ Item[int index] {
	IntersectionResult^ get (int index);
	void set (int index, IntersectionResult^ value);
}

Parameters

index
Type: SystemInt32
The index of the item to be set or retrieved.

Return Value

Returns the object at the specified index.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →