Freigeben über


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

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