BitmapEffect.SetValue(SafeHandle, String, Object) メソッド

定義

注意事項

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

指定したプロパティを指定した値に設定します。

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)

パラメーター

effect
SafeHandle

変更するプロパティを含む効果のハンドル。

propertyName
String

変更するプロパティの名前。

value
Object

プロパティを設定するために使用する値。

属性

注釈

このメソッドは、次のヘルパー メソッドとして使用されます UpdateUnmanagedPropertyState。 オーバーライド UpdateUnmanagedPropertyStateする場合は、アンマネージ プロパティ値の更新に使用 SetValue します。

適用対象