DiagramElementHasDecorators.DiagramElement Property
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.dll)
Syntax
'Declaration
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "Decorators", _
PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/DiagramElement.PropertyDisplayName", _
Multiplicity := Multiplicity.ZeroMany)> _
<DomainObjectIdAttribute("6a8cfd57-d791-45af-8712-f6faebb1cdf0")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/DiagramElement.Description", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/DiagramElement.DisplayName", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public MustOverride Property DiagramElement As DiagramElement
'Usage
Dim instance As DiagramElementHasDecorators
Dim value As DiagramElement
value = instance.DiagramElement
instance.DiagramElement = value
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Decorators", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/DiagramElement.PropertyDisplayName",
Multiplicity = Multiplicity.ZeroMany)]
[DomainObjectIdAttribute("6a8cfd57-d791-45af-8712-f6faebb1cdf0")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/DiagramElement.Description",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/DiagramElement.DisplayName",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public abstract DiagramElement DiagramElement { get; set; }
[DomainRoleAttribute(DomainRoleOrder::Source, PropertyName = L"Decorators",
PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/DiagramElement.PropertyDisplayName",
Multiplicity = Multiplicity::ZeroMany)]
[DomainObjectIdAttribute(L"6a8cfd57-d791-45af-8712-f6faebb1cdf0")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/DiagramElement.Description",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators/DiagramElement.DisplayName",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public:
virtual property DiagramElement^ DiagramElement {
DiagramElement^ get () abstract;
void set (DiagramElement^ value) abstract;
}
public abstract function get DiagramElement () : DiagramElement
public abstract function set DiagramElement (value : DiagramElement)
Property Value
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement
.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.
See Also
Reference
DiagramElementHasDecorators Class