共用方式為


PresentationViewsSubject.Presentation 屬性

表示 SubjectPresentationElement

命名空間:  Microsoft.VisualStudio.Modeling.Diagrams
組件:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)

語法

'宣告
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Presentation.DisplayName",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Presentation.Description",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "Subject", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Presentation.PropertyDisplayName",  _
    PropagatesDelete := True, PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy,  _
    Multiplicity := Multiplicity.ZeroOne)> _
<DomainObjectIdAttribute("05432123-9430-46b8-b042-2400655228fd")> _
Public Overridable Property Presentation As PresentationElement
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Presentation.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Presentation.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Subject", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Presentation.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.ZeroOne)]
[DomainObjectIdAttribute("05432123-9430-46b8-b042-2400655228fd")]
public virtual PresentationElement Presentation { get; set; }

屬性值

類型:Microsoft.VisualStudio.Modeling.Diagrams.PresentationElement

.NET Framework 安全性

請參閱

參考

PresentationViewsSubject 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間