PresentationViewsSubject.GetSubject Method
Gets the model element that is displayed by the presentation element.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
Public Shared Function GetSubject ( _
element As PresentationElement _
) As ModelElement
public static ModelElement GetSubject(
PresentationElement element
)
public:
static ModelElement^ GetSubject(
PresentationElement^ element
)
static member GetSubject :
element:PresentationElement -> ModelElement
public static function GetSubject(
element : PresentationElement
) : ModelElement
Parameters
Return Value
Type: Microsoft.VisualStudio.Modeling.ModelElement
.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.