Condividi tramite


Metodo VsTextTemplatingModelingAdapterManager.CreateDocumentHandler

Dato un oggetto ModelingAdapterReference, creare un oggetto ModelingDocumentHandler.

Spazio dei nomi:  Microsoft.VisualStudio.TextTemplating.Modeling
Assembly:  Microsoft.VisualStudio.TextTemplating.Modeling.10.0 (in Microsoft.VisualStudio.TextTemplating.Modeling.10.0.dll)

Sintassi

'Dichiarazione
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

Parametri

Valore restituito

Tipo: Microsoft.VisualStudio.Modeling.Integration.ModelingDocumentHandler
Nuovo oggetto ModelingDocumentHandler.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

VsTextTemplatingModelingAdapterManager Classe

Spazio dei nomi Microsoft.VisualStudio.TextTemplating.Modeling