Revit 2026 API
Macro |
Indicates the given module is a member of this collection.
Namespace: Autodesk.Revit.DB.Macros
Assembly: RevitAPIMacros (in RevitAPIMacros.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public bool Contains( MacroModule module )
Public Function Contains ( module As MacroModule ) As Boolean
public: bool Contains( MacroModule^ module )
member Contains : module : MacroModule -> bool
Parameters
- module MacroModule
- The module.
Return Value
BooleanReturns true if the given module is a member of this collection, false otherwise.
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
See Also