VsTextTemplatingModelingAdapterManager.CreateDocumentHandler Method (ModelingAdapterReference, IServiceProvider)

 

Create a ModelingDocumentHandler given a ModelingAdapterReference.

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

Syntax

protected virtual ModelingDocumentHandler CreateDocumentHandler(
    ModelingAdapterReference adapterReference,
    IServiceProvider serviceProvider
)
protected:
virtual ModelingDocumentHandler^ CreateDocumentHandler(
    ModelingAdapterReference^ adapterReference,
    IServiceProvider^ serviceProvider
)
abstract CreateDocumentHandler : 
        adapterReference:ModelingAdapterReference *
        serviceProvider:IServiceProvider -> ModelingDocumentHandler
override CreateDocumentHandler : 
        adapterReference:ModelingAdapterReference *
        serviceProvider:IServiceProvider -> ModelingDocumentHandler
Protected Overridable Function CreateDocumentHandler (
    adapterReference As ModelingAdapterReference,
    serviceProvider As IServiceProvider
) As ModelingDocumentHandler

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Integration.ModelingDocumentHandler

The new ModelingDocumentHandler.

See Also

VsTextTemplatingModelingAdapterManager Class
Microsoft.VisualStudio.TextTemplating.Modeling Namespace

Return to top