XmlBinaryReaderSession.TryLookup Method (XmlDictionaryString, XmlDictionaryString%)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Checks whether the internal collection contains a specified entry.
Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
'Declaration Public Function TryLookup ( _ value As XmlDictionaryString, _ <OutAttribute> ByRef result As XmlDictionaryString _ ) As Boolean
Parameters
- value
- Type: System.Xml.XmlDictionaryString
The value to match.
- result
- Type:
System.Xml.XmlDictionaryString
%
The XmlDictionaryString, if found; otherwise, Nothing.
Return Value
Type: System.Booleantrue if an entry that matches the value was found; otherwise, false.
Implements
IXmlDictionary.TryLookup(XmlDictionaryString, XmlDictionaryString)| Exception | Condition |
|---|---|
| ArgumentNullException | value is Nothing. |
Show: