Freigeben über


BitmapEffect.SetValue(SafeHandle, String, Object) Methode

Definition

Achtung

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

Legt die angegebene Eigenschaft auf den angegebenen Wert fest.

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)

Parameter

effect
SafeHandle

Das Handle für den Effekt, der die zu ändernde Eigenschaft enthält.

propertyName
String

Der Name der zu ändernden Eigenschaft.

value
Object

Der Wert, der zum Festlegen der Eigenschaft verwendet werden soll.

Attribute

Hinweise

Diese Methode ist als Hilfsmethode für UpdateUnmanagedPropertyState. Wenn Sie außer Kraft setzen UpdateUnmanagedPropertyState, verwenden Sie die Verwendung SetValue zum Aktualisieren nicht verwalteter Eigenschaftswerte.

Gilt für