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

IXmlDictionary.TryLookup Method (String, XmlDictionaryString%)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Checks the dictionary for a specified string value.

Namespace:  System.Xml
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

'Declaration
Function TryLookup ( _
	value As String, _
	<OutAttribute> ByRef result As XmlDictionaryString _
) As Boolean

Parameters

value
Type: System.String
The string to check for.
result
Type: System.Xml.XmlDictionaryString %
If value is found in the IXmlDictionary, the XmlDictionaryString that is mapped to the key; otherwise, Nothing.

Return Value

Type: System.Boolean
true if value is in the dictionary; otherwise, false.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft