Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates a PresentationViewsSubject link in the same Partition as the given PresentationElement
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Sub New ( _
source As PresentationElement, _
target As ModelElement _
)
public PresentationViewsSubject(
PresentationElement source,
ModelElement target
)
public:
PresentationViewsSubject(
PresentationElement^ source,
ModelElement^ target
)
new :
source:PresentationElement *
target:ModelElement -> PresentationViewsSubject
public function PresentationViewsSubject(
source : PresentationElement,
target : ModelElement
)
Parameters
source
Type: Microsoft.VisualStudio.Modeling.Diagrams.PresentationElementPresentationElement to use as the source of the relationship.
target
Type: Microsoft.VisualStudio.Modeling.ModelElementModelElement to use as the target of the relationship.
Remarks
Presentation elements and PresentationViewsSubject links are usually created in a separate Partitionfrom the domain model elements.
You can also construct this relationship by setting the Model property in the 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