Método VsTextTemplatingModelingAdapterManager.CreateDocumentHandler

Crie uma dada uma ModelingAdapterReference de ModelingDocumentHandler.

Namespace:  Microsoft.VisualStudio.TextTemplating.Modeling
Assembly:  Microsoft.VisualStudio.TextTemplating.Modeling.10.0 (em Microsoft.VisualStudio.TextTemplating.Modeling.10.0.dll)

Sintaxe

'Declaração
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

Parâmetros

Valor de retorno

Tipo: Microsoft.VisualStudio.Modeling.Integration.ModelingDocumentHandler
O novo ModelingDocumentHandler.

Segurança do .NET Framework

Consulte também

Referência

VsTextTemplatingModelingAdapterManager Classe

Namespace Microsoft.VisualStudio.TextTemplating.Modeling