English | 日本語
Home > Merge > Merge for Windows > Documentation Contents > StringPreferences Object

StringPreferences Object

This object provides access to Merge preferences that are represented by strings. Use the (default) Item property to get and set these preferences.

Properties (implemented by interface IStringPreferences)

Item

IDL [propget] HRESULT Item([in] VARIANT index, [out, retval] BSTR* pValue)
[propput] HRESULT Item([in] VARIANT index, [in] BSTR newValue)
.NET String get_Item(Object index)
void set_Item(Object index, String newValue)
VB6 Item(index As Variant) As String

Provides access to the specified preference string.

The property is read/write.

Arguments

Methods (implemented by interface IStringPreferences)

Set

IDL HRESULT Set([in] VARIANT index, [in] BSTR newValue)
.NET void Set(Object index, String newValue)
VB6 Set(index As Variant, newValue As String)

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


Related topics