ElementTypeDescriptor.CreatePropertyDescriptor Method

Creates a descriptor for a property of a model element.

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

Syntax

'Declaração
Protected Overridable Function CreatePropertyDescriptor ( _
    requestor As ModelElement, _
    domainPropertyInfo As DomainPropertyInfo, _
    attributes As Attribute() _
) As ElementPropertyDescriptor
protected virtual ElementPropertyDescriptor CreatePropertyDescriptor(
    ModelElement requestor,
    DomainPropertyInfo domainPropertyInfo,
    Attribute[] attributes
)
protected:
virtual ElementPropertyDescriptor^ CreatePropertyDescriptor(
    ModelElement^ requestor, 
    DomainPropertyInfo^ domainPropertyInfo, 
    array<Attribute^>^ attributes
)
abstract CreatePropertyDescriptor : 
        requestor:ModelElement * 
        domainPropertyInfo:DomainPropertyInfo * 
        attributes:Attribute[] -> ElementPropertyDescriptor 
override CreatePropertyDescriptor : 
        requestor:ModelElement * 
        domainPropertyInfo:DomainPropertyInfo * 
        attributes:Attribute[] -> ElementPropertyDescriptor 
protected function CreatePropertyDescriptor(
    requestor : ModelElement, 
    domainPropertyInfo : DomainPropertyInfo, 
    attributes : Attribute[]
) : ElementPropertyDescriptor

Parameters

  • 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.

.NET Framework Security

See Also

Reference

ElementTypeDescriptor Class

Microsoft.VisualStudio.Modeling.Design Namespace