DomainClassHasCustomTypeDescriptor.CustomTypeDescriptor 属性

为自定义类型描述符应用的 DomainRole CustomTypeDescriptor 类。

命名空间:  Microsoft.VisualStudio.Modeling.DslDefinition
程序集:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll 中)

语法

声明
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainClassHasCustomTypeDescriptor/CustomTypeDescriptor.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("dcc9940e-e112-4e4a-90e7-2868077bf28b")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainClassHasCustomTypeDescriptor/CustomTypeDescriptor.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "Class", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.DomainClassHasCustomTypeDescriptor/CustomTypeDescriptor.PropertyDisplayName",  _
    PropagatesDelete := True, PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy,  _
    Multiplicity := Multiplicity.One)> _
Public Property CustomTypeDescriptor As DomainTypeDescriptor
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainClassHasCustomTypeDescriptor/CustomTypeDescriptor.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("dcc9940e-e112-4e4a-90e7-2868077bf28b")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainClassHasCustomTypeDescriptor/CustomTypeDescriptor.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "Class", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.DomainClassHasCustomTypeDescriptor/CustomTypeDescriptor.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.One)]
public DomainTypeDescriptor CustomTypeDescriptor { get; set; }

属性值

类型:Microsoft.VisualStudio.Modeling.DslDefinition.DomainTypeDescriptor

.NET Framework 安全性

请参见

参考

DomainClassHasCustomTypeDescriptor 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间