SOLIDWORKS PDM Professional API Help Send Feedback
UpdateRevisionComment Method (IEdmHistoryUpdate)
See Also 
EPDM.Interop.epdm Namespace > IEdmHistoryUpdate Interface : UpdateRevisionComment Method (IEdmHistoryUpdate)


lFileID
ID of file for which to update a comment
bsRevisionName
Name of revision for which to update a comment: "" for all revisions
lVersionNo
ID of version for which to update a comment; -1 for all versions
bsNewComment
New revision comment
Updates a revision comment.

Syntax

Visual Basic 
Sub UpdateRevisionComment( _
   ByVal lFileID As System.Integer, _
   ByVal bsRevisionName As System.String, _
   ByVal lVersionNo As System.Integer, _
   ByVal bsNewComment As System.String _
) 
C# 
void UpdateRevisionComment( 
   System.int lFileID,
   System.string bsRevisionName,
   System.int lVersionNo,
   System.string bsNewComment
)
C++/CLI 
void UpdateRevisionComment( 
&   System.int lFileID,
&   System.String^ bsRevisionName,
&   System.int lVersionNo,
&   System.String^ bsNewComment
) 

Parameters

lFileID
ID of file for which to update a comment
bsRevisionName
Name of revision for which to update a comment: "" for all revisions
lVersionNo
ID of version for which to update a comment; -1 for all versions
bsNewComment
New revision comment

Remarks

After calling this method, you must call IEdmHistoryUpdate::CommitUpdates to write the change to the database.

Return codes:

  • S_OK: The method successfully executed.
  • S_FALSE: One of the arguments is invalid.
 

See Also

Availability

SOLIDWORKS PDM Professional 2008