Partilhar via


PresentationViewsSubject.Presentation Property

The PresentationElement that represents the Subject.

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

Syntax

'Declaração
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "Subject", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Presentation.PropertyDisplayName",  _
    PropagatesDelete := True, PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy,  _
    Multiplicity := Multiplicity.ZeroOne)> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Presentation.DisplayName",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("05432123-9430-46b8-b042-2400655228fd")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Presentation.Description",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
Public Overridable Property Presentation As PresentationElement
    Get
    Set
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Subject", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Presentation.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.ZeroOne)]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Presentation.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("05432123-9430-46b8-b042-2400655228fd")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Presentation.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
public virtual PresentationElement Presentation { get; set; }
[DomainRoleAttribute(DomainRoleOrder::Source, PropertyName = L"Subject", PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Presentation.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption::DoNotPropagateCopy, 
    Multiplicity = Multiplicity::ZeroOne)]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Presentation.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"05432123-9430-46b8-b042-2400655228fd")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Presentation.Description", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
public:
virtual property PresentationElement^ Presentation {
    PresentationElement^ get ();
    void set (PresentationElement^ value);
}
[<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Subject", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Presentation.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.ZeroOne)>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Presentation.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
[<DomainObjectIdAttribute("05432123-9430-46b8-b042-2400655228fd")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Presentation.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
abstract Presentation : PresentationElement with get, set
[<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Subject", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Presentation.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.ZeroOne)>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Presentation.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
[<DomainObjectIdAttribute("05432123-9430-46b8-b042-2400655228fd")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Presentation.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
override Presentation : PresentationElement with get, set
function get Presentation () : PresentationElement
function set Presentation (value : PresentationElement)

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.PresentationElement

.NET Framework Security

See Also

Reference

PresentationViewsSubject Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace