BitmapEffect.SetValue(SafeHandle, String, Object) Methode

Definitie

Let op

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

Hiermee stelt u de opgegeven eigenschap in op de opgegeven waarde.

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)

Parameters

effect
SafeHandle

De ingang voor het effect dat de eigenschap bevat die moet worden gewijzigd.

propertyName
String

De naam van de eigenschap die u wilt wijzigen.

value
Object

De waarde die moet worden gebruikt om de eigenschap in te stellen.

Kenmerken

Opmerkingen

Deze methode is bedoeld als helpermethode voor UpdateUnmanagedPropertyState. Wanneer u overschrijft UpdateUnmanagedPropertyState, gebruikt u deze om niet-beheerde eigenschapswaarden bij te werken SetValue .

Van toepassing op