Właściwość PresentationViewsSubject.Subject —
Element modelu domeny, który jest przedstawiony w interfejsie użytkownika przez Presentation.
Przestrzeń nazw: Microsoft.VisualStudio.Modeling.Diagrams
Zestaw: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (w Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Składnia
'Deklaracja
<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)> _
<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
[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)]
[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; }
Wartość właściwości
Typ: Microsoft.VisualStudio.Modeling.ModelElement
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Przy użyciu bibliotek z częściowo zaufanego kodu..