Share via


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 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'Declaration
<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",  _
    Multiplicity := Multiplicity.ZeroMany)> _
<DomainObjectIdAttribute("03100000-2121-46b8-b042-2400655228fd")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Subject.Description",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
Public Overridable Property Subject As ModelElement
'Usage
Dim instance As PresentationViewsSubject 
Dim value As ModelElement 

value = instance.Subject

instance.Subject = value
[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", 
    Multiplicity = Multiplicity.ZeroMany)]
[DomainObjectIdAttribute("03100000-2121-46b8-b042-2400655228fd")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Subject.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
public virtual ModelElement Subject { get; set; }
[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", 
    Multiplicity = Multiplicity::ZeroMany)]
[DomainObjectIdAttribute(L"03100000-2121-46b8-b042-2400655228fd")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Subject.Description", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
public:
virtual property ModelElement^ Subject {
    ModelElement^ get ();
    void set (ModelElement^ value);
}
public function get Subject () : ModelElement 
public function set Subject (value : ModelElement)

Property Value

Type: Microsoft.VisualStudio.Modeling.ModelElement

.NET Framework Security

See Also

Reference

PresentationViewsSubject Class

PresentationViewsSubject Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace