AttributedDomainElementHasAttributes.Attribute Property

DomainRole Attribute

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Syntax

'Declaration
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Attribute.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Attribute.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("2c2389f4-1330-4f0f-b303-10a63d5ba696")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "Element", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Attribute.PropertyDisplayName",  _
    PropagatesDelete := True, PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy,  _
    Multiplicity := Multiplicity.ZeroOne)> _
Public Property Attribute As ClrAttribute
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Attribute.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Attribute.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("2c2389f4-1330-4f0f-b303-10a63d5ba696")]
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "Element", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Attribute.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.ZeroOne)]
public ClrAttribute Attribute { get; set; }
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Attribute.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Attribute.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"2c2389f4-1330-4f0f-b303-10a63d5ba696")]
[DomainRoleAttribute(DomainRoleOrder::Target, PropertyName = L"Element", PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Attribute.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption::DoNotPropagateCopy, 
    Multiplicity = Multiplicity::ZeroOne)]
public:
property ClrAttribute^ Attribute {
    ClrAttribute^ get ();
    void set (ClrAttribute^ value);
}
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Attribute.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Attribute.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainObjectIdAttribute("2c2389f4-1330-4f0f-b303-10a63d5ba696")>]
[<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "Element", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Attribute.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.ZeroOne)>]
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

See Also

Reference

AttributedDomainElementHasAttributes Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace