Partager via


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

Return Value

Type: Microsoft.VisualStudio.Modeling.ModelElement
The root element of the loaded model.

.NET Framework Security

See Also

Reference

VsTextTemplatingModelingAdapterManager Class

Microsoft.VisualStudio.TextTemplating.Modeling Namespace