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

Definição

Atenção

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

Define a propriedade especificada para o valor dado.

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)

Parâmetros

effect
SafeHandle

A alça para o efeito que contém a propriedade a mudar.

propertyName
String

O nome da propriedade a mudar.

value
Object

O valor a usar para definir a propriedade.

Atributos

Observações

Este método destina-se a ser um método auxiliar para UpdateUnmanagedPropertyState. Quando sobrescrever UpdateUnmanagedPropertyState, use SetValue para atualizar os valores das propriedades não geridas.

Aplica-se a