| Revit 2017 API |
| Application..::..WriteJournalComment Method |
| Application Class See Also |
Writes a comment to the Revit journal file.
Namespace: Autodesk.Revit.ApplicationServices
Assembly: RevitAPI (in RevitAPI.dll) Version: 17.0.0.0 (17.0.484.0)
Since:
2011
Syntax
| C# |
|---|
public void WriteJournalComment( string comment, bool timeStamp ) |
| Visual Basic |
|---|
Public Sub WriteJournalComment ( _ comment As String, _ timeStamp As Boolean _ ) |
| Visual C++ |
|---|
public: void WriteJournalComment( String^ comment, bool timeStamp ) |
Parameters
- comment
- Type: System..::..String
Text for journal comment.
- timeStamp
- Type: System..::..Boolean
If a time stamp should be included in the journal comment.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |