Partager via


EnumerationHasLiterals.Literal, propriété

DomainRole Literal Enumeration définissant le littéral.

Espace de noms :  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly :  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (dans Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

Syntaxe

'Déclaration
<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")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "Enumeration",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasLiterals/Literal.PropertyDisplayName",  _
    PropagatesDelete := True, PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy,  _
    Multiplicity := Multiplicity.One)> _
<DomainObjectIdAttribute("90c80c40-e129-45c3-9aa0-a2bce5874d41")> _
Public Property Literal As EnumerationLiteral
[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")]
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "Enumeration", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasLiterals/Literal.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.One)]
[DomainObjectIdAttribute("90c80c40-e129-45c3-9aa0-a2bce5874d41")]
public EnumerationLiteral Literal { get; set; }

Valeur de propriété

Type : Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationLiteral

Sécurité .NET Framework

Voir aussi

Référence

EnumerationHasLiterals Classe

Microsoft.VisualStudio.Modeling.DslDefinition, espace de noms