XmlDictionary.TryLookup Method

Attempts to look up an entry in the dictionary.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Supported by Portable Class Library TryLookup(Int32, XmlDictionaryString) Attempts to look up an entry in the dictionary.
Public method Supported by Portable Class Library TryLookup(String, XmlDictionaryString) Checks the dictionary for a specified string value.
Public method Supported by Portable Class Library TryLookup(XmlDictionaryString, XmlDictionaryString) Checks the dictionary for a specified XmlDictionaryString.
Top

This method avoids throwing an exception if the string is not currently in the dictionary.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft