Compartilhar via


DependencyObject.SetReadOnlyPropertyValue(DependencyProperty, Object) Método

Definição

Define o valor de um DependencyProperty, que é somente leitura.

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)

Parâmetros

dependencyProperty
DependencyProperty

O DependencyProperty.

value
Object

A Object que representa o valor.

Exceções

O Nothing é uma referência nula (dependencyProperty no Visual Basic).

Aplica-se a