IFileSystemItemComparableUrl Interface

This optional interface can be implemented to provide simplified versions of URLs for use when pairing up files and folders into rows within the folder comparison hierarchy. For example, the FullPath and Basename properties in IFileSystemItem may provide URLs that contain version information that should be ignored by Merge when comparing the URLs for equivalence. By implementing this interface, a plugin can provide Merge with FullPath and Basename values that do not contain the version information, and can thus be compared.

Example property values:

Interface Property Value
IFileSystemItem FullPath plugin:\Project#2002-11-04\File.txt#3
IFileSystemItem Basename File.txt#3
IFileSystemItemComparableUrl ComparableFullPath plugin:\Project\File.txt
IFileSystemItemComparableUrl ComparableBasename File.txt

Properties

ComparableBasenameread-onlyIFileSystemItemComparableUrl

Provides a simplified version of the IFileSystemItem’s Basename property for use when comparing file and folder names for equivalence in the folder comparison hierarchy.

IDL [propget] HRESULT ComparableBasename([out, retval] BSTR* pValue)
.NET String ComparableBasename[get]

ComparableFullPathread-onlyIFileSystemItemComparableUrl

Provides a simplified version of the IFileSystemItem’s FullPath property for use when comparing URLs for equivalence in the folder comparison hierarchy.

IDL [propget] HRESULT ComparableFullPath([out, retval] BSTR* pValue)
.NET String ComparableFullPath[get]