BitmapEffect.SetValue(SafeHandle, String, Object) Método

Definición

Precaución

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

Establece la propiedad especificada en el valor especificado.

C#
[System.Security.SecurityCritical]
[System.Security.SecurityTreatAsSafe]
protected static void SetValue(System.Runtime.InteropServices.SafeHandle effect, string propertyName, object value);
C#
[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);
C#
[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);

Parámetros

effect
SafeHandle

El identificador al efecto que contiene la propiedad que se va a cambiar.

propertyName
String

Es el nombre de la propiedad que se va a cambiar.

value
Object

El nuevo valor que se va a usar para establecer la propiedad.

Atributos

Comentarios

Este método está pensado como método auxiliar para UpdateUnmanagedPropertyState. Al invalidar UpdateUnmanagedPropertyState, use SetValue para actualizar los valores de propiedad no administrados.

Se aplica a

Producto Versiones (Obsoleto)
.NET Framework 3.0, 3.5 (4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1)
Windows Desktop (3.0, 3.1, 5, 6, 7, 8, 9)