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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Declaración
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
- requestor
Type: Microsoft.VisualStudio.Modeling.ModelElement
Element.
- domainProperty
Type: Microsoft.VisualStudio.Modeling.DomainPropertyInfo
Property.
Return Value
Type: System.Boolean
True to create descriptor and false otherwise.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DslDefinitionModelElementTypeDescriptor Class
Microsoft.VisualStudio.Modeling.DslDefinition.Design Namespace