Partilhar via


Método ModelElement.TryGetExtension (ModelElement, Guid)

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

Sintaxe

'Declaração
Public Shared Function TryGetExtension ( _
    element As ModelElement, _
    extensionClassId As Guid _
) As ExtensionElement
public static ExtensionElement TryGetExtension(
    ModelElement element,
    Guid extensionClassId
)

Parâmetros

Valor de retorno

Tipo: Microsoft.VisualStudio.Modeling.ExtensionElement

Segurança do .NET Framework

Consulte também

Referência

ModelElement Classe

Sobrecargas TryGetExtension

Namespace Microsoft.VisualStudio.Modeling