| Visual Basic | |
|---|---|
Sub UpdateVersionComment( _ ByVal lFileID As System.Integer, _ ByVal lVersionNo As System.Integer, _ ByVal bsNewComment As System.String _ ) | |
| C# | |
|---|---|
void UpdateVersionComment( System.int lFileID, System.int lVersionNo, System.string bsNewComment ) | |
| C++/CLI | |
|---|---|
void UpdateVersionComment( & System.int lFileID, & System.int lVersionNo, & System.String^ bsNewComment ) | |
Parameters
- lFileID
- ID of file for which to update a comment
- lVersionNo
- ID of version for which to update a comment; -1 for all versions
- bsNewComment
- New version comment
See the IEdmHistoryUpdate examples.
After calling this method, you must call IEdmHistoryUpdate::CommitUpdates to write the change to the database.
- S_OK: The method successfully executed.
- S_FALSE: One of the arguments is invalid.
SOLIDWORKS PDM Professional 2008