Condividi tramite


BitmapEffect.SetValue(SafeHandle, String, Object) Metodo

Definizione

Attenzione

BitmapEffects are deprecated and no longer function. Consider using Effects where appropriate instead.

Imposta la proprietà specificata al valore indicato.

protected:
 static void SetValue(System::Runtime::InteropServices::SafeHandle ^ effect, System::String ^ propertyName, System::Object ^ value);
[System.Security.SecurityCritical]
[System.Security.SecurityTreatAsSafe]
protected static void SetValue (System.Runtime.InteropServices.SafeHandle effect, string propertyName, object value);
[System.Security.SecurityCritical]
[System.Security.SecurityTreatAsSafe]
[System.Obsolete("BitmapEffects are deprecated and no longer function.  Consider using Effects where appropriate instead.")]
protected static void SetValue (System.Runtime.InteropServices.SafeHandle effect, string propertyName, object value);
[System.Obsolete("BitmapEffects are deprecated and no longer function.  Consider using Effects where appropriate instead.")]
protected static void SetValue (System.Runtime.InteropServices.SafeHandle effect, string propertyName, object value);
[<System.Security.SecurityCritical>]
[<System.Security.SecurityTreatAsSafe>]
static member SetValue : System.Runtime.InteropServices.SafeHandle * string * obj -> unit
[<System.Security.SecurityCritical>]
[<System.Security.SecurityTreatAsSafe>]
[<System.Obsolete("BitmapEffects are deprecated and no longer function.  Consider using Effects where appropriate instead.")>]
static member SetValue : System.Runtime.InteropServices.SafeHandle * string * obj -> unit
[<System.Obsolete("BitmapEffects are deprecated and no longer function.  Consider using Effects where appropriate instead.")>]
static member SetValue : System.Runtime.InteropServices.SafeHandle * string * obj -> unit
Protected Shared Sub SetValue (effect As SafeHandle, propertyName As String, value As Object)

Parametri

effect
SafeHandle

Handle all'effetto che contiene la proprietà da modificare.

propertyName
String

Nome della proprietà da modificare.

value
Object

Valore da utilizzare per impostare la proprietà.

Attributi

Commenti

Questo metodo è destinato a un metodo helper per UpdateUnmanagedPropertyState. Quando si esegue l'override, usare SetValue per aggiornare UpdateUnmanagedPropertyStatei valori delle proprietà non gestiti.

Si applica a