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


Re-reads cached properties from the database.

Syntax

Visual Basic 
Sub Refresh() 
C# 
void Refresh()
C++/CLI 
void Refresh(); 

Remarks

In a multi-user implementation, the object may change as you are working on it. Call this method to ensure that you are seeing the latest state of the object.

For performance reasons, some object properties might be cached in the object itself. This method ensures that cached properties are re-read from the database.

Return codes:

  • S_OK: The method successfully executed.
  • S_EDM_DATABASE_ACCESS: General error accessing the database.
 

See Also

Availability

Version 5.2 of SOLIDWORKS PDM Professional