ResourceDictionary.OnGettingValue(Object, Object, Boolean) Méthode

Définition

Se produit lorsque le ResourceDictionary reçoit une demande pour une ressource.

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 * obj * bool -> unit
override this.OnGettingValue : obj * obj * bool -> unit
Protected Overridable Sub OnGettingValue (key As Object, ByRef value As Object, ByRef canCache As Boolean)

Paramètres

key
Object

Clé de la ressource à obtenir.

value
Object

Valeur de la ressource demandée.

canCache
Boolean

true si la ressource peut être stockée et utilisée ultérieurement ; sinon, false.

S’applique à