BitmapEffect.SetValue Method (SafeHandle, String, Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

obsoleteCodeEntityT:System.Windows.Media.Effects.Effect Note: This API is now obsolete.

Sets the specified property to the given value.

Namespace:   System.Windows.Media.Effects
Assembly:  PresentationCore (in PresentationCore.dll)

[SecurityCriticalAttribute]
[SecurityTreatAsSafeAttribute]
[ObsoleteAttribute("BitmapEffects are deprecated and no longer function.  Consider using Effects where appropriate instead.")]
protected 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
Return to top
Show: