DependencyObject.SetReadOnlyPropertyValue(DependencyProperty, Object) 方法
定义
设置只读的 DependencyProperty 值。Sets the value of a DependencyProperty, which is read-only.
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)
参数
- dependencyProperty
- DependencyProperty
例外
dependencyProperty 为空引用(在 Visual Basic 中为 Nothing)。The dependencyProperty is a null reference (Nothing in Visual Basic).