IWords::Insert Method

From Tracker Software PDF SDK
Jump to: navigation, search


Inserts item into words list.

Syntax

HRESULT Insert([in]                    BSTR   sItem,
               [in, defaultvalue(-1)]  ULONG  nIndex);

Parameters

sItem
[in] Item that would be inserted into the words list.
nIndex
[in, defaultvalue(-1)] The index in the words list where the item would be inserted.

Return Value

Returns S_OK if the operation was successful, or will return an error code if it fails.

See Also

IWords