TryLookup Method (XmlDictionaryString, XmlDictionaryString)
Collapse the table of content
Expand the table of content

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.

Namespace:  System.Xml
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.Boolean
true if an entry that matches the value was found; otherwise, false.

Implements

IXmlDictionary.TryLookup(XmlDictionaryString, XmlDictionaryString)

ExceptionCondition
ArgumentNullException

value is Nothing.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft