DependencyObject.SetReadOnlyPropertyValue(DependencyProperty, Object) 方法

定义

设置只读的 DependencyProperty 值。

protected public:
 void SetReadOnlyPropertyValue(System::Workflow::ComponentModel::DependencyProperty ^ dependencyProperty, System::Object ^ value);
protected internal void SetReadOnlyPropertyValue (System.Workflow.ComponentModel.DependencyProperty dependencyProperty, object value);
member this.SetReadOnlyPropertyValue : System.Workflow.ComponentModel.DependencyProperty * obj -> unit
Protected Friend Sub SetReadOnlyPropertyValue (dependencyProperty As DependencyProperty, value As Object)

参数

value
Object

表示该值的 Object

例外

dependencyProperty 为空引用(在 Visual Basic 中为 Nothing)。

适用于