ResourceDictionary.Contains(Object) Method
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.
Determines whether the ResourceDictionary contains an element with the specified key.
public:
virtual bool Contains(System::Object ^ key);
public bool Contains (object key);
abstract member Contains : obj -> bool
override this.Contains : obj -> bool
Public Function Contains (key As Object) As Boolean
Parameters
- key
- Object
The key to locate in the ResourceDictionary.
Returns
true
if ResourceDictionary contains a key-value pair with the specified key; otherwise, false
.
Implements
Remarks
If the requested key is not in this resource dictionary, the resource lookup logic will also check the merged dictionaries.
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.