DslDefinitionModelElementTypeDescriptor.CreatePropertyDescriptor Method
Create the PropertyDescriptor for a given DomainProperty
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'宣告
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
- requestor
Type: Microsoft.VisualStudio.Modeling.ModelElement
- domainPropertyInfo
Type: Microsoft.VisualStudio.Modeling.DomainPropertyInfo
- attributes
Type: array<System.Attribute[]
Return Value
Type: Microsoft.VisualStudio.Modeling.Design.ElementPropertyDescriptor
.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