BitmapEffect::SetValue Method (SafeHandle^, String^, Object^)
.NET Framework (current version)
Sets the specified property to the given value.
Assembly: PresentationCore (in PresentationCore.dll)
protected: [SecurityCriticalAttribute] [SecurityTreatAsSafeAttribute] [ObsoleteAttribute("BitmapEffects are deprecated and no longer function. Consider using Effects where appropriate instead.")] static void SetValue( SafeHandle^ effect, String^ propertyName, Object^ value )
Parameters
- effect
-
Type:
System.Runtime.InteropServices::SafeHandle^
The handle to the effect that contains the property to change.
- propertyName
-
Type:
System::String^
The name of the property to change.
- value
-
Type:
System::Object^
The value to use to set the property.
This method is intended as a helper method for UpdateUnmanagedPropertyState. When you override UpdateUnmanagedPropertyState, use SetValue to update unmanaged property values.
.NET Framework
Available since 3.0
Available since 3.0
Show: