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
'Dichiarazione
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
- requestor
Type: Microsoft.VisualStudio.Modeling.ModelElement
The model element that has the described domain property.
- domainPropertyInfo
Type: Microsoft.VisualStudio.Modeling.DomainPropertyInfo
The metadata for the domain property.
- 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
- 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.