Item Property


Gets or sets an item at a specified key within the map.

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

Syntax

C#
public virtual Parameter this[
	string key
] { get; set; }
Visual Basic
Public Overridable Property Item ( _
	key As String _
) As Parameter
	Get
	Set
Visual C++
public:
virtual property Parameter^ Item[String^ key] {
	Parameter^ get (String^ key);
	void set (String^ key, Parameter^ value);
}

Parameters

key
Type: SystemString
The key of the item to be set or retrieved.

Return Value

Returns the object at the specified key.

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 →