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


bsFilePath
Path and filename of the file to clear
Adds the specified file to the batch of files and folders to clear from the local cache.

Syntax

Visual Basic 
Sub AddFileByPath( _
   ByVal bsFilePath As System.String _
) 
C# 
void AddFileByPath( 
   System.string bsFilePath
)
C++/CLI 
void AddFileByPath( 
&   System.String^ bsFilePath
) 

Parameters

bsFilePath
Path and filename of the file to clear

Example

Remarks

After calling this method, you must call IEdmClearLocalCache::CommitClear to actually clear the file from the cache.

Return codes:

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

See Also

Availability

SOLIDWORKS PDM Professional 2008