Keys Property

ResourceDictionary.Keys Property

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

Gets an ICollection object containing the keys of the ResourceDictionary.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

'Declaration
Public ReadOnly Property Keys As ICollection

Property Value

Type: System.Collections.ICollection
The ICollection of all keys in this ResourceDictionary.

Implements

IDictionary.Keys

You can enumerate over Keys. The enumerated results will be of type Object, but can then be cast to String.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft