Partilhar via


Método VsTextTemplatingModelingAdapterManager.FindStoreRoot

Um armazenamento em cache, localize a raiz do modelo dentro dele para a referência de determinado adaptador.

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

Sintaxe

'Declaração
Protected Overridable Function FindStoreRoot ( _
    store As Store, _
    adapterReference As ModelingAdapterReference, _
    serviceProvider As IServiceProvider _
) As ModelElement
protected virtual ModelElement FindStoreRoot(
    Store store,
    ModelingAdapterReference adapterReference,
    IServiceProvider serviceProvider
)
protected:
virtual ModelElement^ FindStoreRoot(
    Store^ store, 
    ModelingAdapterReference^ adapterReference, 
    IServiceProvider^ serviceProvider
)
abstract FindStoreRoot : 
        store:Store * 
        adapterReference:ModelingAdapterReference * 
        serviceProvider:IServiceProvider -> ModelElement 
override FindStoreRoot : 
        store:Store * 
        adapterReference:ModelingAdapterReference * 
        serviceProvider:IServiceProvider -> ModelElement 
protected function FindStoreRoot(
    store : Store, 
    adapterReference : ModelingAdapterReference, 
    serviceProvider : IServiceProvider
) : ModelElement

Parâmetros

Valor de retorno

Tipo: Microsoft.VisualStudio.Modeling.ModelElement
O elemento raiz ou null, se a referência do adaptador não for encontrada.

Segurança do .NET Framework

Consulte também

Referência

VsTextTemplatingModelingAdapterManager Classe

Namespace Microsoft.VisualStudio.TextTemplating.Modeling