Revit 2026 API
Parameter |
Tests for the existence of a key within the map.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public virtual bool Contains( string key )
Public Overridable Function Contains ( key As String ) As Boolean
public: virtual bool Contains( String^ key )
abstract Contains : key : string -> bool override Contains : key : string -> bool
Parameters
- key String
- The key to be searched for.
Return Value
BooleanThe Contains method returns True if the key is within the map, otherwise False.
See Also