Export (0) Print
Expand All

PropertyMetadata Constructor (Object, Attribute[])

Initializes a new instance of the PropertyMetadata class with a default property value and an array of attributes.

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

public PropertyMetadata(
	Object defaultValue,
	params Attribute[] attributes
)

Parameters

defaultValue
Type: System.Object

The object that represents the DefaultValue of this PropertyMetadata.

attributes
Type: System.Attribute[]

Attributes applicable to the dependency property, such as DesignerSerializationVisibilityAttribute and ValidationOptionAttribute.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0
Show:
© 2015 Microsoft