VsTextTemplatingModelingAdapterManager::CreateLoadStore Method (Store^, ModelingAdapterReference^, IServiceProvider^)

 

Load a Store with the model for the given adapter reference. If the given Store is null then create the Store as well.

Namespace:   Microsoft.VisualStudio.TextTemplating.Modeling
Assembly:  Microsoft.VisualStudio.TextTemplating.Modeling.12.0 (in Microsoft.VisualStudio.TextTemplating.Modeling.12.0.dll)

protected:
virtual ModelElement^ CreateLoadStore(
	Store^ store,
	ModelingAdapterReference^ adapterReference,
	IServiceProvider^ serviceProvider
)

Parameters

store
Type: Microsoft.VisualStudio.Modeling::Store^

The Store in which to load the model. Null to create a new Store.

adapterReference
Type: Microsoft.VisualStudio.Modeling.Integration::ModelingAdapterReference^

An adapter reference to an element in the model that will be loaded.

serviceProvider
Type: System::IServiceProvider^

A service provider in which to load the Store.

Return Value

Type: Microsoft.VisualStudio.Modeling::ModelElement^

The root element of the loaded model.

Return to top
Show: