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

定義

ResourceDictionary がリソースの要求を受け取ると発生します。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)

パラメーター

key
Object Object Object Object

取得するリソースのキー。The key of the resource to get.

value
Object Object Object Object

要求したリソースの値。The value of the requested resource.

canCache
Boolean Boolean Boolean Boolean

リソースを保存して後で使用できる場合は true。それ以外の場合は falsetrue if the resource can be saved and used later; otherwise, false.

適用対象