This documentation is archived and is not being maintained.

ElementPropertyDescriptor Constructor (ElementTypeDescriptor, ModelElement, DomainPropertyInfo, Attribute[])

Updated: July 2008

Initializes a new instance of the ElementPropertyDescriptor class and specifies a default value provider.

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)

public ElementPropertyDescriptor(
	ElementTypeDescriptor owner,
	ModelElement modelElement,
	DomainPropertyInfo domainProperty,
	Attribute[] attributes
)

Parameters

owner
Type: Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor

The element type descriptor for the model element that has the described domain property.

modelElement
Type: Microsoft.VisualStudio.Modeling.ModelElement

The model element that has the described domain property; or null when this domain property is not associated with a model element.

domainProperty
Type: Microsoft.VisualStudio.Modeling.DomainPropertyInfo

The metadata for the described domain property.

attributes
Type: System.Attribute[]

An array that contains the attributes to apply to the domain property.

ExceptionCondition
ArgumentNullException

owner or domainProperty is null.

The owner provides default values for the described domain property.

Date

History

Reason

July 2008

Added topic.

Content bug fix.

Show: