VsTextTemplatingModelingAdapterManager.CreateDocumentHandler Method
Create a ModelingDocumentHandler given a 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
Parameters
- adapterReference
Type: Microsoft.VisualStudio.Modeling.Integration.ModelingAdapterReference
- serviceProvider
Type: System.IServiceProvider
Return Value
Type: Microsoft.VisualStudio.Modeling.Integration.ModelingDocumentHandler
The new ModelingDocumentHandler.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.