DomainClassHasCustomTypeDescriptor.Class 属性

DomainRole 自定义类型描述符的类定义类的。

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

语法

声明
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainClassHasCustomTypeDescriptor/Class.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "CustomTypeDescriptor",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.DomainClassHasCustomTypeDescriptor/Class.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer,  _
    Multiplicity := Multiplicity.ZeroOne)> _
<DomainObjectIdAttribute("cf4693a6-ef53-4245-b0dd-af6644f96712")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainClassHasCustomTypeDescriptor/Class.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property Class As DomainClass
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainClassHasCustomTypeDescriptor/Class.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "CustomTypeDescriptor", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.DomainClassHasCustomTypeDescriptor/Class.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity.ZeroOne)]
[DomainObjectIdAttribute("cf4693a6-ef53-4245-b0dd-af6644f96712")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainClassHasCustomTypeDescriptor/Class.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public DomainClass Class { get; set; }

属性值

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

.NET Framework 安全性

请参见

参考

DomainClassHasCustomTypeDescriptor 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间