Adds a new named option to the options structure.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public void AddOption( string name, string value )
Parameters
- name String
- The option name.
- value String
- The option value.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |