共用方式為


ExtensionExtendsElement.ModelElement Property

DomainRole ModelElement ExtensionExtendsElement.ModelElement role

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

Syntax

'宣告
<DomainObjectIdAttribute("092ff582-de42-40da-bc9f-62d1037e3195")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.ExtensionExtendsElement/ModelElement.Description",  _
    GetType(CoreDomainModel), "Microsoft.VisualStudio.Modeling.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.ExtensionExtendsElement/ModelElement.DisplayName",  _
    GetType(CoreDomainModel), "Microsoft.VisualStudio.Modeling.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "Extensions",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.ExtensionExtendsElement/ModelElement.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer,  _
    Multiplicity := Multiplicity.ZeroMany)> _
Public Overridable Property ModelElement As ModelElement
    Get
    Set
[DomainObjectIdAttribute("092ff582-de42-40da-bc9f-62d1037e3195")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.ExtensionExtendsElement/ModelElement.Description", 
    typeof(CoreDomainModel), "Microsoft.VisualStudio.Modeling.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.ExtensionExtendsElement/ModelElement.DisplayName", 
    typeof(CoreDomainModel), "Microsoft.VisualStudio.Modeling.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "Extensions", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.ExtensionExtendsElement/ModelElement.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity.ZeroMany)]
public virtual ModelElement ModelElement { get; set; }
[DomainObjectIdAttribute(L"092ff582-de42-40da-bc9f-62d1037e3195")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.ExtensionExtendsElement/ModelElement.Description", 
    typeof(CoreDomainModel), L"Microsoft.VisualStudio.Modeling.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.ExtensionExtendsElement/ModelElement.DisplayName", 
    typeof(CoreDomainModel), L"Microsoft.VisualStudio.Modeling.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder::Target, PropertyName = L"Extensions", 
    PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.ExtensionExtendsElement/ModelElement.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption::PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity::ZeroMany)]
public:
virtual property ModelElement^ ModelElement {
    ModelElement^ get ();
    void set (ModelElement^ value);
}
[<DomainObjectIdAttribute("092ff582-de42-40da-bc9f-62d1037e3195")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.ExtensionExtendsElement/ModelElement.Description", 
    typeof(CoreDomainModel), "Microsoft.VisualStudio.Modeling.GeneratedCode.DomainModelResx")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.ExtensionExtendsElement/ModelElement.DisplayName", 
    typeof(CoreDomainModel), "Microsoft.VisualStudio.Modeling.GeneratedCode.DomainModelResx")>]
[<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "Extensions", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.ExtensionExtendsElement/ModelElement.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity.ZeroMany)>]
abstract ModelElement : ModelElement with get, set
[<DomainObjectIdAttribute("092ff582-de42-40da-bc9f-62d1037e3195")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.ExtensionExtendsElement/ModelElement.Description", 
    typeof(CoreDomainModel), "Microsoft.VisualStudio.Modeling.GeneratedCode.DomainModelResx")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.ExtensionExtendsElement/ModelElement.DisplayName", 
    typeof(CoreDomainModel), "Microsoft.VisualStudio.Modeling.GeneratedCode.DomainModelResx")>]
[<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "Extensions", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.ExtensionExtendsElement/ModelElement.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity.ZeroMany)>]
override ModelElement : ModelElement with get, set
function get ModelElement () : ModelElement
function set ModelElement (value : ModelElement)

Property Value

Type: Microsoft.VisualStudio.Modeling.ModelElement

.NET Framework Security

See Also

Reference

ExtensionExtendsElement Class

Microsoft.VisualStudio.Modeling Namespace