다음을 통해 공유


VsTextTemplatingModelingAdapterManager.CreateDocumentHandler Method

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

'Declaration
Protected Overridable Function CreateDocumentHandler ( _
    adapterReference As ModelingAdapterReference, _
    serviceProvider As IServiceProvider _
) As ModelingDocumentHandler
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 function CreateDocumentHandler(
    adapterReference : ModelingAdapterReference, 
    serviceProvider : IServiceProvider
) : ModelingDocumentHandler

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Integration.ModelingDocumentHandler
The new ModelingDocumentHandler.

.NET Framework Security

See Also

Reference

VsTextTemplatingModelingAdapterManager Class

Microsoft.VisualStudio.TextTemplating.Modeling Namespace