IUniqueStrings::InsertFrom Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
{{#customTitle:IUniqueStrings::InsertFrom Method}} | {{#customTitle:IUniqueStrings::InsertFrom Method}} | ||
{{#parentPage:PXV:IUniqueStrings#Methods|InsertFrom|method}} | {{#parentPage:PXV:IUniqueStrings#Methods|InsertFrom|method}} | ||
− | + | ||
Inserts items from the given unique strings list. | Inserts items from the given unique strings list. | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT InsertFrom([in] IUniqueStrings* | + | <pre class="brush:cpp;gutter:false">HRESULT InsertFrom([in] IUniqueStrings* pSrc, |
− | [in, defaultvalue(0)] ULONG | + | [in, defaultvalue(0)] ULONG nStartSrcIndex, |
− | [in, defaultvalue(-1)] ULONG | + | [in, defaultvalue(-1)] ULONG nSrcItemsCount);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;pSrc |
:[in] Pointer to [[PXV:IUniqueStrings|IUniqueStrings]] containing the source unique strings list. | :[in] Pointer to [[PXV:IUniqueStrings|IUniqueStrings]] containing the source unique strings list. | ||
− | ; | + | ;nStartSrcIndex |
:[in, defaultvalue(0)] Start index in the source array of the items to copy. | :[in, defaultvalue(0)] Start index in the source array of the items to copy. | ||
− | ; | + | ;nSrcItemsCount |
:[in, defaultvalue(-1)] Number of the items to copy from the source array starting from the start index. | :[in, defaultvalue(-1)] Number of the items to copy from the source array starting from the start index. | ||
== Return Value == | == Return Value == | ||
− | Returns S_OK if operation was successful or error code | + | Returns S_OK if the operation was successful, or will return an error code if it fails. |
== See Also == | == See Also == | ||
[[PXV:IUniqueStrings|IUniqueStrings]] | [[PXV:IUniqueStrings|IUniqueStrings]] |
Latest revision as of 15:02, 16 June 2015
Inserts items from the given unique strings list.
Syntax
HRESULT InsertFrom([in] IUniqueStrings* pSrc, [in, defaultvalue(0)] ULONG nStartSrcIndex, [in, defaultvalue(-1)] ULONG nSrcItemsCount);
Parameters
- pSrc
- [in] Pointer to IUniqueStrings containing the source unique strings list.
- nStartSrcIndex
- [in, defaultvalue(0)] Start index in the source array of the items to copy.
- nSrcItemsCount
- [in, defaultvalue(-1)] Number of the items to copy from the source array starting from the start index.
Return Value
Returns S_OK if the operation was successful, or will return an error code if it fails.