Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates a tag aggregator for the specified text buffer.
Namespace: Microsoft.VisualStudio.Text.Tagging
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Declaration
Function CreateTagAggregator(Of T As ITag) ( _
textBuffer As ITextBuffer _
) As ITagAggregator(Of T)
ITagAggregator<T> CreateTagAggregator<T>(
ITextBuffer textBuffer
)
where T : ITag
generic<typename T>
where T : ITag
ITagAggregator<T>^ CreateTagAggregator(
ITextBuffer^ textBuffer
)
abstract CreateTagAggregator :
textBuffer:ITextBuffer -> ITagAggregator<'T> when 'T : ITag
JScript does not support generic types or methods.
Type Parameters
- T
The type of tag to aggregate.
Parameters
textBuffer
Type: Microsoft.VisualStudio.Text.ITextBufferThe ITextBuffer over which the aggregator should aggregate tags, including all source buffers if the buffer is a projection buffer.
Return Value
Type: Microsoft.VisualStudio.Text.Tagging.ITagAggregator<T>
The tag aggregator.
.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.