DependencyObject.SetReadOnlyPropertyValue(DependencyProperty, Object) DependencyObject.SetReadOnlyPropertyValue(DependencyProperty, Object) DependencyObject.SetReadOnlyPropertyValue(DependencyProperty, Object) Method

定義

設定唯讀的 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

參數

value
Object Object Object

表示值的 ObjectThe Object that represents the value.

例外狀況

dependencyProperty 為 null 參考 (在 Visual Basic 為 Nothing)。The dependencyProperty is a null reference (Nothing in Visual Basic).

適用於