Szerkesztés

Megosztás a következőn keresztül:


DependencyObject.SetReadOnlyPropertyValue(DependencyProperty, Object) Method

Definition

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)

Parameters

dependencyProperty
DependencyProperty

The DependencyProperty.

value
Object

The Object that represents the value.

Exceptions

The dependencyProperty is a null reference (Nothing in Visual Basic).

Applies to