Share via


DslDefinitionModelElementTypeDescriptor.ShouldCreatePropertyDescriptor Method

Gets whether to create type descriptor for a givne property.

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 ShouldCreatePropertyDescriptor ( _
    requestor As ModelElement, _
    domainProperty As DomainPropertyInfo _
) As Boolean
protected override bool ShouldCreatePropertyDescriptor(
    ModelElement requestor,
    DomainPropertyInfo domainProperty
)
protected:
virtual bool ShouldCreatePropertyDescriptor(
    ModelElement^ requestor, 
    DomainPropertyInfo^ domainProperty
) override
abstract ShouldCreatePropertyDescriptor : 
        requestor:ModelElement * 
        domainProperty:DomainPropertyInfo -> bool  
override ShouldCreatePropertyDescriptor : 
        requestor:ModelElement * 
        domainProperty:DomainPropertyInfo -> bool
protected override function ShouldCreatePropertyDescriptor(
    requestor : ModelElement, 
    domainProperty : DomainPropertyInfo
) : boolean

Parameters

Return Value

Type: Boolean
True to create descriptor and false otherwise.

.NET Framework Security

See Also

Reference

DslDefinitionModelElementTypeDescriptor Class

Microsoft.VisualStudio.Modeling.DslDefinition.Design Namespace