Add a new type definition of voltage into project. 
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Syntax
| C# | 
|---|
|  | 
| Visual Basic | 
|---|
|  | 
| Visual C++ | 
|---|
|  | 
Parameters
- name
- Type: SystemString
 Specify voltage type name
- actualValue
- Type: SystemDouble
 Specify actual value of voltage type.
- minValue
- Type: SystemDouble
 Specify acceptable minimum value of the voltage type.
- maxValue
- Type: SystemDouble
 Specify acceptable maximum value of the voltage type.