VsTextTemplatingModelingAdapterManager::FindStoreRoot Method (Store^, ModelingAdapterReference^, IServiceProvider^)
Visual Studio 2015
Given a cached store, find the model root within it for the given adapter reference.
Assembly: Microsoft.VisualStudio.TextTemplating.Modeling.12.0 (in Microsoft.VisualStudio.TextTemplating.Modeling.12.0.dll)
protected: virtual ModelElement^ FindStoreRoot( Store^ store, ModelingAdapterReference^ adapterReference, IServiceProvider^ serviceProvider )
Parameters
- store
- Type: Microsoft.VisualStudio.Modeling::Store^
- adapterReference
- Type: Microsoft.VisualStudio.Modeling.Integration::ModelingAdapterReference^
- serviceProvider
- Type: System::IServiceProvider^
Return Value
Type: Microsoft.VisualStudio.Modeling::ModelElement^The root element or null, if the adapter reference is not found.
Show: