Share via


VsTextTemplatingModelingAdapterManager.FindStoreRoot Method

Definition

Given a cached store, find the model root withing it for the given adapter reference

protected virtual Microsoft.VisualStudio.Modeling.ModelElement FindStoreRoot (Microsoft.VisualStudio.Modeling.Store store, Microsoft.VisualStudio.Modeling.Integration.ModelingAdapterReference adapterReference, IServiceProvider serviceProvider);
abstract member FindStoreRoot : Microsoft.VisualStudio.Modeling.Store * Microsoft.VisualStudio.Modeling.Integration.ModelingAdapterReference * IServiceProvider -> Microsoft.VisualStudio.Modeling.ModelElement
override this.FindStoreRoot : Microsoft.VisualStudio.Modeling.Store * Microsoft.VisualStudio.Modeling.Integration.ModelingAdapterReference * IServiceProvider -> Microsoft.VisualStudio.Modeling.ModelElement
Protected Overridable Function FindStoreRoot (store As Store, adapterReference As ModelingAdapterReference, serviceProvider As IServiceProvider) As ModelElement

Parameters

store
Store
adapterReference
Microsoft.VisualStudio.Modeling.Integration.ModelingAdapterReference
serviceProvider
IServiceProvider

Returns

The root element or null

Applies to