EnumerationHasAttributes.Attribute Property
DomainRole Attribute Enumeration defining the attribute.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'宣告
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "Enumeration", _
PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes/Attribute.PropertyDisplayName", _
PropagatesDelete := True, PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy, _
Multiplicity := Multiplicity.ZeroOne)> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes/Attribute.DisplayName", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("ecc6c8c2-dc5a-488c-b6bb-fd4fed95891e")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes/Attribute.Description", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property Attribute As ClrAttribute
Get
Set
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "Enumeration",
PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes/Attribute.PropertyDisplayName",
PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy,
Multiplicity = Multiplicity.ZeroOne)]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes/Attribute.DisplayName",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("ecc6c8c2-dc5a-488c-b6bb-fd4fed95891e")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes/Attribute.Description",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public ClrAttribute Attribute { get; set; }
[DomainRoleAttribute(DomainRoleOrder::Target, PropertyName = L"Enumeration",
PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes/Attribute.PropertyDisplayName",
PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption::DoNotPropagateCopy,
Multiplicity = Multiplicity::ZeroOne)]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes/Attribute.DisplayName",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"ecc6c8c2-dc5a-488c-b6bb-fd4fed95891e")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes/Attribute.Description",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public:
property ClrAttribute^ Attribute {
ClrAttribute^ get ();
void set (ClrAttribute^ value);
}
[<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "Enumeration",
PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes/Attribute.PropertyDisplayName",
PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy,
Multiplicity = Multiplicity.ZeroOne)>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes/Attribute.DisplayName",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainObjectIdAttribute("ecc6c8c2-dc5a-488c-b6bb-fd4fed95891e")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributes/Attribute.Description",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
member Attribute : ClrAttribute with get, set
function get Attribute () : ClrAttribute
function set Attribute (value : ClrAttribute)
Property Value
Type: Microsoft.VisualStudio.Modeling.DslDefinition.ClrAttribute
.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.