EnumerationHasLiterals.Literal 屬性
DomainRole 定義常值常值的列舉。
命名空間: Microsoft.VisualStudio.Modeling.DslDefinition
組件: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll 中)
語法
'宣告
<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; }
屬性值
型別:Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationLiteral
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。