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 관리되지 않는 속성 값을 업데이트합니다.

적용 대상