InstanceDependencyPropertyOption Enumeration

Use the following enumeration members to specify how an InstanceDependencyProperty behaves.

Namespace:  Microsoft.Rtc.Workflow.Activities
Assembly:  Microsoft.Rtc.Workflow (in Microsoft.Rtc.Workflow.dll)

Syntax

'Declaration
Public Enumeration InstanceDependencyPropertyOption
'Usage
Dim instance As InstanceDependencyPropertyOption
public enum InstanceDependencyPropertyOption

Members

Member name Description
Default Indicates that the property is a read/write property.
ReadOnly Indicates that the propery is read-only.

Read-only properties can set once, either by registering with a default value or by calling SetValue. Calling SetValue once the value is set will throw an exception. Read-only properties are best used when a corresponding .Net property would have been declared readonly. This includes variables containing collections that cannot be set (i.e., the collection object is constant, although the content of the collection can change).

See Also

Reference

Microsoft.Rtc.Workflow.Activities Namespace