PresentationViewsSubject.Presentation 屬性
表示 Subject 的 PresentationElement。
命名空間: 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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。