Creates a Reference with the supplied element.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.3.0.0 (26.3.0.0)
Syntax
C#
public Reference( Element element )
Parameters
- element Element
- The element to create a reference.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown when the parameter is null. |
