LongPreferences Object

On this page:

Description

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

Item read/write, ILongPreferences

Provides access to the specified preference long integer.

IDL [propget] HRESULT Item(
    [in] VARIANT index,
    [out, retval] long* pValue)
[propput] HRESULT Item(
    [in] VARIANT index,
    [in] long newValue)
.NET Int32 get_Item(
    Object index)
void set_Item(
    Object index, Int32 newValue)

Methods

Set ILongPreferences

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.

IDL HRESULT Set(
    [in] VARIANT index,
    [in] long newValue)
.NET void Set(
    Object index,
    Int32 newValue)