Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Id
Collapse the table of content
Expand the table of content

ISpeechPhraseProperty Id Property (SAPI 5.3)

Speech API 5.3

Microsoft Speech API 5.3

Interface: ISpeechPhraseProperty

Id Property


The Id property returns the ID of the semantic property.

The ID is the numeric identifier associated with the ISpeechPhraseProperty.Name property. This property must be explicitly marked with the PROPID label.


Syntax

Set: (This property is read-only)
Get: Long = ISpeechPhraseProperty.Id

Parts

ISpeechPhraseProperty
The owning object.
Long
Set: (This property is read-only)
Get: A Long variable that gets the property.

Remarks

Either Name or Id (if available) may be used to identify the rule invoked. Some languages, such as Visual Basic, can use strings in a Select Case statement. Therefore, the rule Name may be used directly in the Select Case statement. Other languages, such as C/C++ can only use numeric values in switch statements. In this case, the Id is more appropriate.

Example

See the example for ISpeechPhraseProperty.Name for more information.
Show:
© 2015 Microsoft