DependencyObject.SetReadOnlyPropertyValue(DependencyProperty, Object) Methode

Definition

Legt den Wert einer DependencyProperty fest, die schreibgeschützt ist.

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)

Parameter

dependencyProperty
DependencyProperty

Die DependencyProperty.

value
Object

Das Object, das den Wert darstellt.

Ausnahmen

dependencyProperty ist ein NULL-Verweis (Nothing in Visual Basic).

Gilt für