PresentationViewsSubject.Subject Property

The domain model element that is presented at the user interface by the Presentation.

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

Syntax

声明
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Subject.Description",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("03100000-2121-46b8-b042-2400655228fd")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Subject.DisplayName",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "Presentation",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Subject.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy, Multiplicity := Multiplicity.ZeroMany)> _
Public Overridable Property Subject As ModelElement
    Get
    Set
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Subject.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("03100000-2121-46b8-b042-2400655228fd")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Subject.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "Presentation", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Subject.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, Multiplicity = Multiplicity.ZeroMany)]
public virtual ModelElement Subject { get; set; }
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Subject.Description", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"03100000-2121-46b8-b042-2400655228fd")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Subject.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder::Target, PropertyName = L"Presentation", 
    PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Subject.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption::DoNotPropagateCopy, Multiplicity = Multiplicity::ZeroMany)]
public:
virtual property ModelElement^ Subject {
    ModelElement^ get ();
    void set (ModelElement^ value);
}
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Subject.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
[<DomainObjectIdAttribute("03100000-2121-46b8-b042-2400655228fd")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Subject.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
[<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "Presentation", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Subject.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, Multiplicity = Multiplicity.ZeroMany)>]
abstract Subject : ModelElement with get, set
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Subject.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
[<DomainObjectIdAttribute("03100000-2121-46b8-b042-2400655228fd")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Subject.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
[<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "Presentation", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Subject.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, Multiplicity = Multiplicity.ZeroMany)>]
override Subject : ModelElement with get, set
function get Subject () : ModelElement
function set Subject (value : ModelElement)

Property Value

Type: Microsoft.VisualStudio.Modeling.ModelElement

.NET Framework Security

See Also

Reference

PresentationViewsSubject Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace