Aracılığıyla paylaş


XmlDictionary.TryLookup Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Attempts to look up a key 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.

Overload List

  Name Description
Public methodSupported by Silverlight for Windows Phone TryLookup(Int32, XmlDictionaryString%) Attempts to look up an entry in the dictionary.
Public methodSupported by Silverlight for Windows Phone TryLookup(String, XmlDictionaryString%) Checks the dictionary for a specified string value.
Public methodSupported by Silverlight for Windows Phone TryLookup(XmlDictionaryString, XmlDictionaryString%) Checks the dictionary for a specified XmlDictionaryString.

Top

Remarks

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