PresentationViewsSubject.Presentation Property
The PresentationElement that represents the Subject.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Presentation.Description", _
GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("05432123-9430-46b8-b042-2400655228fd")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Presentation.DisplayName", _
GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "Subject", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Presentation.PropertyDisplayName", _
PropagatesDelete := True, Multiplicity := Multiplicity.ZeroOne)> _
Public Overridable Property Presentation As PresentationElement
'Usage
Dim instance As PresentationViewsSubject
Dim value As PresentationElement
value = instance.Presentation
instance.Presentation = value
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Presentation.Description",
typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("05432123-9430-46b8-b042-2400655228fd")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Presentation.DisplayName",
typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Subject", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Presentation.PropertyDisplayName",
PropagatesDelete = true, Multiplicity = Multiplicity.ZeroOne)]
public virtual PresentationElement Presentation { get; set; }
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Presentation.Description",
typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"05432123-9430-46b8-b042-2400655228fd")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Presentation.DisplayName",
typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder::Source, PropertyName = L"Subject", PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubject/Presentation.PropertyDisplayName",
PropagatesDelete = true, Multiplicity = Multiplicity::ZeroOne)]
public:
virtual property PresentationElement^ Presentation {
PresentationElement^ get ();
void set (PresentationElement^ value);
}
public function get Presentation () : PresentationElement
public function set Presentation (value : PresentationElement)
Property Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.PresentationElement
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
PresentationViewsSubject Class