Partager via


DependencyObject.SetReadOnlyPropertyValue(DependencyProperty, Object) Méthode

Définition

Définit la valeur d'un objet DependencyProperty, qui est en lecture seule.

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)

Paramètres

dependencyProperty
DependencyProperty

L’DependencyPropertyopérateur

value
Object

Objet Object qui représente la valeur.

Exceptions

dependencyProperty est une référence Null (Nothing en Visual Basic).

S’applique à