VsTextTemplatingModelingAdapterManager.CreateLoadStore Method
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
'Declaration
Protected Overridable Function CreateLoadStore ( _
store As Store, _
adapterReference As ModelingAdapterReference, _
serviceProvider As IServiceProvider _
) As ModelElement
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 function CreateLoadStore(
store : Store,
adapterReference : ModelingAdapterReference,
serviceProvider : IServiceProvider
) : 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.