ElementTypeDescriptor::CreatePropertyDescriptor Method (ModelElement^, DomainPropertyInfo^, array<Attribute^>^)
Visual Studio 2015
Creates a descriptor for a property of a model element.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
protected: virtual ElementPropertyDescriptor^ CreatePropertyDescriptor( ModelElement^ requestor, DomainPropertyInfo^ domainPropertyInfo, array<Attribute^>^ attributes )
Parameters
- requestor
-
Type:
Microsoft.VisualStudio.Modeling::ModelElement^
The model element that has the described domain property.
- domainPropertyInfo
-
Type:
Microsoft.VisualStudio.Modeling::DomainPropertyInfo^
The metadata for the domain property.
- attributes
-
Type:
array<System::Attribute^>^
An array that contains the attributes to apply to the domain property.
Return Value
Type: Microsoft.VisualStudio.Modeling.Design::ElementPropertyDescriptor^The descriptor for the property of the model element.
Show: