Share via


DslDefinitionModelElementTypeDescriptor.CreatePropertyDescriptor Method

Create the PropertyDescriptor for a given DomainProperty

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

Syntax

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

Parameters

  • attributes
    Type: array<Attribute[]

Return Value

Type: Microsoft.VisualStudio.Modeling.Design.ElementPropertyDescriptor

.NET Framework Security

See Also

Reference

DslDefinitionModelElementTypeDescriptor Class

Microsoft.VisualStudio.Modeling.DslDefinition.Design Namespace