VsTextTemplatingModelingAdapterManager.CreateDocumentHandler-Methode

Erstellt einen ModelingDocumentHandler unter Angabe einer ModelingAdapterReference.

Namespace:  Microsoft.VisualStudio.TextTemplating.Modeling
Assembly:  Microsoft.VisualStudio.TextTemplating.Modeling.10.0 (in Microsoft.VisualStudio.TextTemplating.Modeling.10.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

Parameter

Rückgabewert

Typ: Microsoft.VisualStudio.Modeling.Integration.ModelingDocumentHandler
Der neue ModelingDocumentHandler.

.NET Framework-Sicherheit

Siehe auch

Referenz

VsTextTemplatingModelingAdapterManager Klasse

Microsoft.VisualStudio.TextTemplating.Modeling-Namespace