Skip to content

Latest commit

 

History

History
110 lines (89 loc) · 2.71 KB

nf-tom-itextstrings-append.md

File metadata and controls

110 lines (89 loc) · 2.71 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:tom.ITextStrings.Append
ITextStrings::Append (tom.h)
Appends a string to the string at the specified index in the collection.
Append
Append method [Windows Controls]
Append method [Windows Controls]
ITextStrings interface
ITextStrings interface [Windows Controls]
Append method
ITextStrings.Append
ITextStrings::Append
controls.itextstrings_append
tom/ITextStrings::Append
controls\itextstrings_append.htm
Controls
e280008b-b41e-43e3-9f16-6fe1f88e10ea
12/05/2018
Append, Append method [Windows Controls], Append method [Windows Controls],ITextStrings interface, ITextStrings interface [Windows Controls],Append method, ITextStrings.Append, ITextStrings::Append, controls.itextstrings_append, tom/ITextStrings::Append
tom.h
Windows
Windows 8 [desktop apps only]
Windows Server 2012 [desktop apps only]
Msftedit.dll
Windows
19H1
ITextStrings::Append
tom/ITextStrings::Append
c++
APIRef
kbSyntax
COM
Msftedit.dll
ITextStrings.Append

ITextStrings::Append

-description

Appends a string to the string at the specified index in the collection.

-parameters

-param pRange [in]

Type: ITextRange2*

The string to append.

-param iString [in]

Type: long

The string index.

-returns

Type: HRESULT

If the method succeeds, it returns S_OK. If the method fails, it returns one of the following COM error codes. For more information about COM error codes, see Error Handling in COM.

Return code Description
E_INVALIDARG
Invalid argument.
E_OUTOFMEMORY
Insufficient memory.

-remarks

The index is relative to the top of the collection, so if iString is equal to 0 the string is inserted at the top. If iString is equal to –1, it is inserted below the top string, and so on.

-see-also

ITextStrings