IWords::Insert Method

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

Revision as of 08:00, 12 June 2015


Inserts item into words list.

Syntax

HRESULT Insert([in]                    BSTR   Item,
               [in, defaultvalue(-1)]  ULONG  Index);

Parameters

Item
[in] Item that would be inserted into the words list.
Index
[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