Share via


Note

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

SrgsRulesCollection.GetKeyForItem Method

This member overrides KeyedCollection<TKey, TItem>.GetKeyForItem(TItem).

Namespace:  Microsoft.Speech.Recognition.SrgsGrammar
Assembly:  Microsoft.Speech (in Microsoft.Speech.dll)

Syntax

'Declaration
Protected Overrides Function GetKeyForItem ( _
    rule As SrgsRule _
) As String
'Usage
Dim rule As SrgsRule
Dim returnValue As String

returnValue = Me.GetKeyForItem(rule)
protected override string GetKeyForItem(
    SrgsRule rule
)

Parameters

Return Value

Type: System.String

See Also

Reference

SrgsRulesCollection Class

SrgsRulesCollection Members

Microsoft.Speech.Recognition.SrgsGrammar Namespace