Compartilhar via


Método DesignSurfaceElementOperations.GetAssociatedModelElement

Obtém o ProtoElement associado com o protoPresentationElement especificado via o relacionamento PresentationViewsSubject.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (em Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Sintaxe

'Declaração
Public Shared Function GetAssociatedModelElement ( _
    elementGroupPrototype As ElementGroupPrototype, _
    protoPresentationElement As ProtoElementBase _
) As ProtoElementBase
public static ProtoElementBase GetAssociatedModelElement(
    ElementGroupPrototype elementGroupPrototype,
    ProtoElementBase protoPresentationElement
)

Parâmetros

Valor de retorno

Tipo: Microsoft.VisualStudio.Modeling.ProtoElementBase

Segurança do .NET Framework

Consulte também

Referência

DesignSurfaceElementOperations Classe

Namespace Microsoft.VisualStudio.Modeling.Diagrams