IXmlDictionary.TryLookup Method (Int32, XmlDictionaryString%)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Attempts to look up an entry in the dictionary.
Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
'Declaration Function TryLookup ( _ key As Integer, _ <OutAttribute> ByRef result As XmlDictionaryString _ ) As Boolean
Parameters
- key
- Type: System.Int32
The key to check for.
- result
- Type:
System.Xml.XmlDictionaryString
%
If key is found in the IXmlDictionary, the XmlDictionaryString that is mapped to the key; otherwise, Nothing.
Show: