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();
        }
    }