EnumerationHasLiterals.Literal Property
DomainRole Literal Enumeration defining the literal.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Declaração
<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")> _
<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)> _
Public Property Literal As EnumerationLiteral
Get
Set
[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")]
[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)]
public EnumerationLiteral Literal { get; set; }
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasLiterals/Literal.DisplayName",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasLiterals/Literal.Description",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"90c80c40-e129-45c3-9aa0-a2bce5874d41")]
[DomainRoleAttribute(DomainRoleOrder::Target, PropertyName = L"Enumeration",
PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasLiterals/Literal.PropertyDisplayName",
PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption::DoNotPropagateCopy,
Multiplicity = Multiplicity::One)]
public:
property EnumerationLiteral^ Literal {
EnumerationLiteral^ get ();
void set (EnumerationLiteral^ value);
}
[<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")>]
[<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)>]
member Literal : EnumerationLiteral with get, set
function get Literal () : EnumerationLiteral
function set Literal (value : EnumerationLiteral)
Property Value
Type: Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationLiteral
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.