BitmapEffect.SetValue(SafeHandle, String, Object) Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
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 .