This object provides access to Merge preferences. Preferences are divided up into three categories: long integers, strings and double (floating point) numbers. Each category is accessed through a separate property on this object.
Properties (implemented by interface IPreferences)
Doubles
| IDL | [propget] HRESULT Doubles([out, retval] IDoublePreferences** pValue) |
|---|---|
| .NET | DoublePreferences Doubles[get] |
| VB6 | Doubles As DoublePreferences |
Provides access to preferences represented as double values.
The property is read-only.
Filters
| IDL | [propget] HRESULT Filters([out, retval] IFilters** pValue) |
|---|---|
| .NET | Filters Filters[get] |
| VB6 | Filters As Filters |
Provides access to the filters used to include/exclude files and folders in the folder comparison window.
The property is read-only.
Longs
| IDL | [propget] HRESULT Longs([out, retval] ILongPreferences** pValue) |
|---|---|
| .NET | LongPreferences Longs[get] |
| VB6 | Longs As LongPreferences |
Provides access to preferences represented as long integer values.
The property is read-only.
Strings
| IDL | [propget] HRESULT Strings([out, retval] IStringPreferences** pValue) |
|---|---|
| .NET | StringPreferences Strings[get] |
| VB6 | Strings As StringPreferences |
Provides access to preferences represented as string values.
The property is read-only.
Methods (implemented by interface IPreferences)
LoadFromFile
| IDL | HRESULT LoadFromFile([in] BSTR filename) |
|---|---|
| .NET | void LoadFromFile(String filename) |
| VB6 | LoadFromFile(filename As String) |
Loads Merge options from a previously saved .mop7 file.
Arguments
-
filename
The name of the file from which Merge options should be loaded.
Save
| IDL | HRESULT Save() |
|---|---|
| .NET | void Save() |
| VB6 | Save |
Saves preferences to the Registry, and propagates them to other running instances of Merge. Without this method, preferences are only saved to the Registry when Merge exits.
SaveToFile
| IDL | HRESULT SaveToFile([in] BSTR filename) |
|---|---|
| .NET | void SaveToFile(String filename) |
| VB6 | SaveToFile(filename As String) |
Saves Merge options to a file. We recommend that you use the .mop7 extension in the filename.
Arguments
-
filename
The name of the file to which Merge options should be saved.
ShowOptionsWindow
| IDL | HRESULT ShowOptionsWindow([in] VARIANT vWndParent) |
|---|---|
| .NET | void ShowOptionsWindow(Object vWndParent) |
| VB6 | ShowOptionsWindow(vWndParent As Variant) |
Displays the Merge Options dialog. The method returns when the user closes the window.
Arguments
-
vWndParent
An optional argument that can be used to specify a parent window for the Options dialog.
| Related topics |
|---|
