ResourceDictionary.OnGettingValue(Object, Object, Boolean) ResourceDictionary.OnGettingValue(Object, Object, Boolean) ResourceDictionary.OnGettingValue(Object, Object, Boolean) ResourceDictionary.OnGettingValue(Object, Object, Boolean) Method

Definition

Tritt auf, wenn das ResourceDictionary eine Ressourcenanforderung empfängt.Occurs when the ResourceDictionary receives a request for a resource.

protected:
 virtual void OnGettingValue(System::Object ^ key, System::Object ^ % value, [Runtime::InteropServices::Out] bool % canCache);
protected virtual void OnGettingValue (object key, ref object value, out bool canCache);
abstract member OnGettingValue : obj *  *  -> unit
override this.OnGettingValue : obj *  *  -> unit
Protected Overridable Sub OnGettingValue (key As Object, ByRef value As Object, ByRef canCache As Boolean)

Parameter

key
Object Object Object Object

Der Schlüssel der abzurufenden Ressource.The key of the resource to get.

value
Object Object Object Object

Der Wert der angeforderten Ressource.The value of the requested resource.

canCache
Boolean Boolean Boolean Boolean

true, wenn die Ressource gespeichert und später verwendet werden kann; andernfalls false.true if the resource can be saved and used later; otherwise, false.

Gilt für: