VsTextTemplatingModelingAdapterManager.CreateLoadStore 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.
Load a Store with the model for the given adapter reference. If the given Store is null then create the Store as well.
protected virtual Microsoft.VisualStudio.Modeling.ModelElement CreateLoadStore (Microsoft.VisualStudio.Modeling.Store store, Microsoft.VisualStudio.Modeling.Integration.ModelingAdapterReference adapterReference, IServiceProvider serviceProvider);
abstract member CreateLoadStore : Microsoft.VisualStudio.Modeling.Store * Microsoft.VisualStudio.Modeling.Integration.ModelingAdapterReference * IServiceProvider -> Microsoft.VisualStudio.Modeling.ModelElement
override this.CreateLoadStore : Microsoft.VisualStudio.Modeling.Store * Microsoft.VisualStudio.Modeling.Integration.ModelingAdapterReference * IServiceProvider -> Microsoft.VisualStudio.Modeling.ModelElement
Protected Overridable Function CreateLoadStore (store As Store, adapterReference As ModelingAdapterReference, serviceProvider As IServiceProvider) As ModelElement
Parameters
- store
- Store
Store to load model into or NULL if Store should be created
- adapterReference
- Microsoft.VisualStudio.Modeling.Integration.ModelingAdapterReference
The reference to load the store with
- serviceProvider
- IServiceProvider
Service provider for Store creation
Returns
The root element of the loaded model