CustomPropertyDescriptor.TypeDescriptor 属性
标识属性的 DomainRole TypeDescriptor 路径要包括在类型描述符。
命名空间: Microsoft.VisualStudio.Modeling.DslDefinition
程序集: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll 中)
语法
声明
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CustomPropertyDescriptor/TypeDescriptor.Description", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CustomPropertyDescriptor/TypeDescriptor.DisplayName", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "PathsOfCustomPropertyDescriptors", _
PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.CustomPropertyDescriptor/TypeDescriptor.PropertyDisplayName", _
PropagatesCopy := PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, _
Multiplicity := Multiplicity.ZeroMany)> _
<DomainObjectIdAttribute("a9ef3d01-c8e5-474b-b680-69e2fcf77224")> _
Public Property TypeDescriptor As DomainTypeDescriptor
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CustomPropertyDescriptor/TypeDescriptor.Description",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.CustomPropertyDescriptor/TypeDescriptor.DisplayName",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "PathsOfCustomPropertyDescriptors",
PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.CustomPropertyDescriptor/TypeDescriptor.PropertyDisplayName",
PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer,
Multiplicity = Multiplicity.ZeroMany)]
[DomainObjectIdAttribute("a9ef3d01-c8e5-474b-b680-69e2fcf77224")]
public DomainTypeDescriptor TypeDescriptor { get; set; }
属性值
类型:Microsoft.VisualStudio.Modeling.DslDefinition.DomainTypeDescriptor
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。