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

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.

Namespace:  System.Xml
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.

Return Value

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft