共用方式為


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

'宣告
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

See Also

Reference

PresentationViewsSubject Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace