Gets the associated family parameter of an element parameter.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Syntax
| C# | 
|---|
 | 
| Visual Basic | 
|---|
 | 
| Visual C++ | 
|---|
 | 
Parameters
- elementParameter
 - Type: Autodesk.Revit.DBParameter
The parameter of an element in family. 
Return Value
The associated family parameter if there is an association between them, returns a null reference (Nothing in Visual Basic) if not.Exceptions
| Exception | Condition | 
|---|---|
| Autodesk.Revit.ExceptionsArgumentNullException | Thrown when the input argument-"elementParameter"-is a null reference (Nothing in Visual Basic). |