Compartir a través de


EnumerationHasLiterals.Literal (Propiedad)

DomainRole Literal Enumeration que define el literal.

Espacio de nombres:  Microsoft.VisualStudio.Modeling.DslDefinition
Ensamblado:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (en Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Sintaxis

'Declaración
<DomainObjectIdAttribute("90c80c40-e129-45c3-9aa0-a2bce5874d41")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "Enumeration",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasLiterals/Literal.PropertyDisplayName",  _
    PropagatesDelete := True, PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy,  _
    Multiplicity := Multiplicity.One)> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasLiterals/Literal.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasLiterals/Literal.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property Literal As EnumerationLiteral
[DomainObjectIdAttribute("90c80c40-e129-45c3-9aa0-a2bce5874d41")]
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "Enumeration", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasLiterals/Literal.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.One)]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasLiterals/Literal.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasLiterals/Literal.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public EnumerationLiteral Literal { get; set; }

Valor de propiedad

Tipo: Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationLiteral

Seguridad de .NET Framework

Vea también

Referencia

EnumerationHasLiterals Clase

Microsoft.VisualStudio.Modeling.DslDefinition (Espacio de nombres)