Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method adds the specified phrase elements to the end of the element list maintained by the phrase builder.
HRESULT AddElements( ULONG cElements, const SPPHRASEELEMENT* pElement);
Parameters
- cElements
[in] Specifies the number of phrase elements to add. - pElement
[in] Pointer to an SPPHRASEELEMENT structure containing the phrase elements to add.
Return Values
The following table shows the possible return values.
Value | Description |
---|---|
S_OK | Function completed successfully. |
E_INVALIDARG | One or more arguments are invalid. |
SPERR_UNINITIALIZED | The object has not been properly initialized. |
FAILED(hr) | Appropriate error message. |
Requirements
OS Versions: Windows CE .NET 4.1 and later.
Header: Sapi.h, Sapi.idl.
Link Library: Sapilib.lib.
See Also
ISpPhraseBuilder | SAPI Interfaces
Send Feedback on this topic to the authors