BitmapEffect.SetValue(SafeHandle, String, Object) Metoda

Definicja

Przestroga

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

Ustawia określoną właściwość na daną wartość.

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)

Parametry

effect
SafeHandle

Uchwyt do efektu, który zawiera właściwość do zmiany.

propertyName
String

Nazwa właściwości, które mają zostać zmienione.

value
Object

Wartość, która ma być używana do ustawiania właściwości .

Atrybuty

Uwagi

Ta metoda jest przeznaczona jako metoda pomocnika dla klasy UpdateUnmanagedPropertyState. Gdy zastąpisz metodę UpdateUnmanagedPropertyState, użyj polecenia SetValue , aby zaktualizować niezarządzane wartości właściwości.

Dotyczy