Aracılığıyla paylaş


DesignSurfaceElementOperations.GetAssociatedModelElement Yöntem

Belirtilen protoPresentationElement PresentationViewsSubject ilişki yoluyla ilişkili ProtoElement alır.

Ad alanı:  Microsoft.VisualStudio.Modeling.Diagrams
Derleme:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll içinde)

Sözdizimi

'Bildirim
Public Shared Function GetAssociatedModelElement ( _
    elementGroupPrototype As ElementGroupPrototype, _
    protoPresentationElement As ProtoElementBase _
) As ProtoElementBase
public static ProtoElementBase GetAssociatedModelElement(
    ElementGroupPrototype elementGroupPrototype,
    ProtoElementBase protoPresentationElement
)

Parametreler

Dönüş Değeri

Tür: Microsoft.VisualStudio.Modeling.ProtoElementBase

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

DesignSurfaceElementOperations Sınıf

Microsoft.VisualStudio.Modeling.Diagrams Ad Alanı