IWords::Insert Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT Insert([in]                    BSTR  pItem,
+
<pre class="brush:cpp;gutter:false">HRESULT Insert([in]                    BSTR  sItem,
 
               [in, defaultvalue(-1)]  ULONG  nIndex);</pre>
 
               [in, defaultvalue(-1)]  ULONG  nIndex);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pItem
+
;sItem
 
:[in]  Item that would be inserted into the words list.
 
:[in]  Item that would be inserted into the words list.
 
;nIndex
 
;nIndex

Revision as of 03:10, 4 June 2015


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 operation was successful or error code in other cases.

See Also

IWords