Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

Microsoft Speech Platform

IEnumSpObjectTokens::Item

IEnumSpObjectTokens::Item locates a specific token in the enumeration.

<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>HRESULT Item(</strong> <strong> ULONG</strong> <em>Index</em>, <a runat="server" href="jj127672(v=msdn.10).md"><strong>ISpObjectToken</strong></a> **<em>ppToken</em> <strong>);</strong> </pre>

Parameters

  • Index
    [in] Value indicating which token in the enumeration sequence to locate.
  • ppToken
    [out] Address of an ISpObjectToken interface pointer.

Return Values

Value Description
S_OK Function completed successfully.
SPERR_NO_MORE_ITEMS Index is greater than the amount of items available.
E_POINTER ppToken is bad or invalid.
SPERR_UNINITIALIZED Attribute parser interface is not initialized.
FAILED (hr) Appropriate error message.