Partilhar via


Propriedade DomainClassHasCustomTypeDescriptor.Class

Definição de classe DomainRole do descritor de tipo personalizado para a classe.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (em Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Sintaxe

'Declaração
<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; }

Valor de propriedade

Tipo: Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass

Segurança do .NET Framework

Consulte também

Referência

DomainClassHasCustomTypeDescriptor Classe

Namespace Microsoft.VisualStudio.Modeling.DslDefinition