26 references to TryGetString
System.Speech (26)
Internal\ObjectToken\ObjectToken.cs (8)
133if (Attributes == null || !Attributes.TryGetString("Age", out age)) 149if (Attributes == null || !Attributes.TryGetString("Gender", out gender)) 166Attributes.TryGetString("Name", out name); 170TryGetString(null, out name); 185if (Attributes.TryGetString("Language", out langId)) 202if (!TryGetString(sCultureId, out description)) 204TryGetString(null, out description); 264if (!TryGetString(name, out clsid))
Internal\ObjectToken\SAPICategories.cs (10)
39if (tokenCategory.TryGetString(_defaultTokenIdValueName, out deviceName)) 142if (tokenCategory.TryGetString(defaultLocation, out sToken)) 171attributes1.TryGetString("Vendor", out vendor1); 172attributes1.TryGetString("ProductLine", out productLine1); 173attributes1.TryGetString("Version", out version1); 174attributes1.TryGetString("Language", out language1); 183attributes2.TryGetString("Vendor", out vendor2); 184attributes2.TryGetString("ProductLine", out productLine2); 185attributes2.TryGetString("Version", out version2); 186attributes2.TryGetString("Language", out language2);
Recognition\RecognizerInfo.cs (3)
41if (token.Attributes.TryGetString(keyName, out attributeValue)) 49if (token.Attributes.TryGetString("AudioFormats", out audioFormats)) 73if (!token.Attributes.TryGetString("Language", out langId))
Synthesis\VoiceInfo.cs (5)
55if (token.Attributes.TryGetString("Language", out langId)) 61if (token.TryGetString("Assembly", out assemblyName)) 67if (token.TryGetString("CLSID", out clsid)) 79if (token.Attributes.TryGetString(keyName, out attributeValue)) 88if (token.Attributes != null && token.Attributes.TryGetString("AudioFormats", out audioFormats))