VsTextTemplatingModelingAdapterManager.FindStoreRoot Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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