Compartir a través de


ITaggerProvider.CreateTagger<T> Method

Creates a tag provider for the specified buffer.

Namespace:  Microsoft.VisualStudio.Text.Tagging
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

'Declaración
Function CreateTagger(Of T As ITag) ( _
    buffer As ITextBuffer _
) As ITagger(Of T)
ITagger<T> CreateTagger<T>(
    ITextBuffer buffer
)
where T : ITag
generic<typename T>
where T : ITag
ITagger<T>^ CreateTagger(
    ITextBuffer^ buffer
)
abstract CreateTagger : 
        buffer:ITextBuffer -> ITagger<'T>  when 'T : ITag
JScript does not support generic types or methods.

Type Parameters

  • T
    The type of the tag.

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.Tagging.ITagger<T>
The ITagger<T>.

.NET Framework Security

See Also

Reference

ITaggerProvider Interface

Microsoft.VisualStudio.Text.Tagging Namespace