DependencyObject.SetReadOnlyPropertyValue Method (DependencyProperty, Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Sets the value of a DependencyProperty, which is read-only.

Namespace:   System.Workflow.ComponentModel
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

Protected Friend Sub SetReadOnlyPropertyValue (
	dependencyProperty As DependencyProperty,
	value As Object
)

Parameters

dependencyProperty
Type: System.Workflow.ComponentModel.DependencyProperty

The DependencyProperty.

value
Type: System.Object

The Object that represents the value.

Exception Condition
ArgumentNullException

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

.NET Framework
Available since 3.0
Return to top
Show: