This object provides access to Merge preferences that are represented by long integers. Use the (default) Item property to get and set these preferences.
Properties (implemented by interface ILongPreferences)
Item
| IDL | [propget] HRESULT Item([in] VARIANT index, [out, retval] long* pValue) |
|---|---|
| .NET | Int32 get_Item(Object index) |
| VB6 | Item(index As Variant) As Long |
Provides access to the specified preference long integer.
The property is read/write.
Arguments
-
index
The index of the preference item of interest. The index can be either a numeric value from the ConfigLong enumeration, or a string version of the value (for example, "clTopLevelFilesOnly").
Methods (implemented by interface ILongPreferences)
Set
| IDL | HRESULT Set([in] VARIANT index, [in] long newValue) |
|---|---|
| .NET | void Set(Object index, Int32 newValue) |
| VB6 | Set(index As Variant, newValue As Long) |
Sets the value of the specified preference item. This method is provided for use by scripting languages that are unable to use the Item property.
Arguments
-
index
The index of the preference item of interest. The index can be either a numeric value from the ConfigLong enumeration, or a string version of the value (for example, "clTopLevelFilesOnly").
-
newValue
The new value of the preference item.
| Related topics |
|---|
