| Visual Basic | |
|---|---|
Sub SetRevisionCounters( _ ByVal lFileID As System.Integer, _ ByVal poCounters() As EdmRevCounter _ ) | |
| C# | |
|---|---|
void SetRevisionCounters( System.int lFileID, EdmRevCounter[] poCounters ) | |
| C++/CLI | |
|---|---|
void SetRevisionCounters( & System.int lFileID, & array<EdmRevCounter>^ poCounters ) | |
Parameters
- lFileID
- ID of file in which to set counters
- poCounters
- Array of EdmRevCounter structures; one structure for each revision component
This method only adds the new counters to this batch. After calling this method, you must call IEdmRevisionMgr::Commit to commit the changes to the database.
This method only sets the revision component counters. It does not generate new revision numbers using any of the revision number generators that may be using the components. To create a new revision number for the file, you must also call IEdmRevisionMgr::IncrementRevision.
The order of calls to this method and IEdmRevisionMgr::IncrementRevision does not matter. Calls to IRevisionMgr::IncrementRevision are always processed after calls to this method.
- S_OK: The method successfully executed.
SOLIDWORKS PDM Professional 2007