ResourceDictionary.Keys Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a collection of all keys contained in this ResourceDictionary.
public:
property System::Collections::ICollection ^ Keys { System::Collections::ICollection ^ get(); };
public System.Collections.ICollection Keys { get; }
member this.Keys : System.Collections.ICollection
Public ReadOnly Property Keys As ICollection
Property Value
The collection of all keys.
Implements
Remarks
This property exists because it is required by IDictionary, but Keys generally is not useful for most ResourceDictionary scenarios.
The returned keys do not include keys within the MergedDictionaries. Also the keys collection is a snapshot of the keys in the base dictionary. If you subsequently make changes to this ResourceDictionary, a stored Keys will not reflect the changes.
Applies to
See also
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour