Share via


Note

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

Microsoft Speech Platform

SPPROPERTYINFO

SPPROPERTYINFO contains the information for a semantic property.

<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>typedef struct tagSPPROPERTYINFO</strong> <strong>{</strong> <strong>LPCWSTR</strong> *<em>pszName</em>; <strong>ULONG</strong> <em>ulId</em>; <strong>LPCWSTR</strong> *<em>pszValue</em>; <strong>VARIANT</strong> <em>vValue</em>; <strong>} SPPROPERTYINFO;</strong> </pre>

Members

  • pszName
    Pointer to the null-terminated string that contains the name information of the property. In an SRGS grammar, the property name is contained in a tag element, as follows: <tag> out.pszName="pszValue"; </tag>.
  • ulId
    Identifier associated with the property.
  • pszValue
    Pointer to the null-terminated string that contains the value information of the property. In an SRGS grammar, the value of a semantic property is contained in a tag element, as follows: <tag> out.pszName="pszValue"; </tag>.
  • vValue
    The data type of pszValue. Must be one of the following: VT_BOOL, VT_I4, VT_R4, VT_R8, or VT_BYREF (for dynamic grammars only.)