ISpeechPhraseProperty Id Property (SAPI 5.3)
Microsoft Speech API 5.3
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.
|Set:||(This property is read-only)|
|Get:||Long = ISpeechPhraseProperty.Id|
- The owning object.
Set: (This property is read-only)
Get: A Long variable that gets the property.
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.