BuildIt.Media.CortanaListener.SemanticInterpretation C# (CSharp) Метод

SemanticInterpretation() приватный статический Метод

Returns the semantic interpretation of a speech result. Returns null if there is no interpretation for that key.
private static SemanticInterpretation ( string interpretationKey, SpeechRecognitionResult speechRecognitionResult ) : string
interpretationKey string The interpretation key.
speechRecognitionResult SpeechRecognitionResult The speech recognition result to get the semantic interpretation from.
Результат string
        private static string SemanticInterpretation(string interpretationKey, SpeechRecognitionResult speechRecognitionResult)
        {
            return speechRecognitionResult.SemanticInterpretation.Properties[interpretationKey].FirstOrDefault();
        }
    }