<xml> </xml>

SOLIDWORKS PDM Professional API Help | Send Feedback
Refresh Method (IEdmObject5)
See Also

Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: Visual Basic Language Filter: C# Language Filter: C++/CLI

EPDM.Interop.epdm Namespace > IEdmObject5 Interface : Refresh Method (IEdmObject5)

Visual Basic
C#
C++/CLI
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

####

IEdmObject5 Interface
IEdmObject5 Members

# Availability

Version 5.2 of SOLIDWORKS PDM Professional