English | 日本語
Home > Merge > Merge for Windows > Documentation Contents > IFileSystemItemComparableUrl Interface

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 might 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

ComparableBasename

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

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.

The property is read-only.

ComparableFullPath

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

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

The property is read-only.