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)
Syntax
protected virtual ModelElement CreateLoadStore(
Store store,
ModelingAdapterReference adapterReference,
IServiceProvider serviceProvider
)
protected:
virtual ModelElement^ CreateLoadStore(
Store^ store,
ModelingAdapterReference^ adapterReference,
IServiceProvider^ serviceProvider
)
abstract CreateLoadStore :
store:Store *
adapterReference:ModelingAdapterReference *
serviceProvider:IServiceProvider -> ModelElement
override CreateLoadStore :
store:Store *
adapterReference:ModelingAdapterReference *
serviceProvider:IServiceProvider -> ModelElement
Protected Overridable Function CreateLoadStore (
store As Store,
adapterReference As ModelingAdapterReference,
serviceProvider As IServiceProvider
) As ModelElement
Parameters
store
Type: Microsoft.VisualStudio.Modeling.StoreThe Store in which to load the model. Null to create a new Store.
adapterReference
Type: Microsoft.VisualStudio.Modeling.Integration.ModelingAdapterReferenceAn adapter reference to an element in the model that will be loaded.
serviceProvider
Type: System.IServiceProviderA service provider in which to load the Store.
Return Value
Type: Microsoft.VisualStudio.Modeling.ModelElement
The root element of the loaded model.
See Also
VsTextTemplatingModelingAdapterManager Class
Microsoft.VisualStudio.TextTemplating.Modeling Namespace
Return to top