BitmapEffect.SetValue(SafeHandle, String, Object) Method
Definition
Warning
This API is now obsolete.
Sets the specified property to the given value.
protected:
static void SetValue(System::Runtime::InteropServices::SafeHandle ^ effect, System::String ^ propertyName, System::Object ^ value);
[System.Obsolete("BitmapEffects are deprecated and no longer function. Consider using Effects where appropriate instead.")]
[System.Security.SecurityCritical]
[System.Security.SecurityTreatAsSafe]
protected static void SetValue (System.Runtime.InteropServices.SafeHandle effect, string propertyName, object value);
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
The handle to the effect that contains the property to change.
- propertyName
- String
The name of the property to change.
- value
- Object
The value to use to set the property.
- Attributes
Remarks
This method is intended as a helper method for UpdateUnmanagedPropertyState. When you override UpdateUnmanagedPropertyState, use SetValue to update unmanaged property values.