DslDefinitionModelElementTypeDescriptor.CreatePropertyDescriptor 方法
建立指定之 DomainProperty 的 PropertyDescriptor
命名空間: Microsoft.VisualStudio.Modeling.DslDefinition.Design
組件: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll 中)
語法
'宣告
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
)
參數
- requestor
類型:Microsoft.VisualStudio.Modeling.ModelElement
- domainPropertyInfo
類型:Microsoft.VisualStudio.Modeling.DomainPropertyInfo
- attributes
類型:array<System.Attribute[]
傳回值
類型:Microsoft.VisualStudio.Modeling.Design.ElementPropertyDescriptor
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。