DependencyPropertyDescriptor.SetValue(Object, Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將元件的值設定為不同的值。
public:
override void SetValue(System::Object ^ component, System::Object ^ value);
public override void SetValue(object component, object value);
override this.SetValue : obj * obj -> unit
Public Overrides Sub SetValue (component As Object, value As Object)
參數
- component
- Object
包含要設定屬性值的元件。
- value
- Object
新的值。
備註
此方法依賴底層 PropertyDescriptor。