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

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →