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


poPathOrFolderID
ID of a folder, full file path, or folder path of the local copy of this file (see Remarks)
Obsolete. Superseded by IEdmFile12::GetLocalVersionNo2.

Syntax

Visual Basic 
Function GetLocalVersionNo( _
   ByRef poPathOrFolderID As System.Object _
) As System.Integer
C# 
System.int GetLocalVersionNo( 
   ref System.object poPathOrFolderID
)
C++/CLI 
System.int GetLocalVersionNo( 
&   System.Object^% poPathOrFolderID
) 

Parameters

poPathOrFolderID
ID of a folder, full file path, or folder path of the local copy of this file (see Remarks)

Return Value

Version number; -1 if the local copy does not match any version in the archive

Example

Remarks

If poPathOrFolderID is a folder path, it must be terminated by a backslash ('\').

See Return Codes for the complete list of potential success and error codes. The following are just a few examples:

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

See Also

Availability

SOLIDWORKS PDM Professional Version 5.2