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