Constructs a NumericRevisionSettings object.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2016
Syntax
| C# |
|---|
public NumericRevisionSettings( int startNumber, string prefix, string suffix ) |
| Visual Basic |
|---|
Public Sub New ( _ startNumber As Integer, _ prefix As String, _ suffix As String _ ) |
| Visual C++ |
|---|
public: NumericRevisionSettings( int startNumber, String^ prefix, String^ suffix ) |
Parameters
- startNumber
- Type: System..::..Int32
The start number for the sequence.
- prefix
- Type: System..::..String
The prefix string for each revision number in the sequence.
- suffix
- Type: System..::..String
The suffix string for each revision number in the sequence.
Remarks
The starting number parameter accepts any non-negative integer, and
the prefix and suffix strings are allowed to be empty.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |
| Autodesk.Revit.Exceptions..::..ArgumentOutOfRangeException | The given value for startNumber is negative. |