다음을 통해 공유


IBufferTagAggregatorFactoryService.CreateTagAggregator<T> 메서드 (ITextBuffer, TagAggregatorOptions)

지정 된 옵션을 사용 하 여 지정 된 버퍼에 대 한 태그 수집기를 만듭니다.

네임스페이스:  Microsoft.VisualStudio.Text.Tagging
어셈블리:  Microsoft.VisualStudio.Text.Logic(Microsoft.VisualStudio.Text.Logic.dll)

구문

‘선언
Function CreateTagAggregator(Of T As ITag) ( _
    textBuffer As ITextBuffer, _
    options As TagAggregatorOptions _
) As ITagAggregator(Of T)
ITagAggregator<T> CreateTagAggregator<T>(
    ITextBuffer textBuffer,
    TagAggregatorOptions options
)
where T : ITag
generic<typename T>
where T : ITag 
ITagAggregator<T>^ CreateTagAggregator(
    ITextBuffer^ textBuffer, 
    TagAggregatorOptions options
)
abstract CreateTagAggregator : 
        textBuffer:ITextBuffer * 
        options:TagAggregatorOptions -> ITagAggregator<'T>  when 'T : ITag
JScript에서는 제네릭 형식이나 메서드를 지원하지 않습니다.

형식 매개 변수

  • T
    집계할 태그 형식입니다.

매개 변수

반환 값

형식: Microsoft.VisualStudio.Text.Tagging.ITagAggregator<T>
태그 리더입니다.

.NET Framework 보안

참고 항목

참조

IBufferTagAggregatorFactoryService 인터페이스

CreateTagAggregator 오버로드

Microsoft.VisualStudio.Text.Tagging 네임스페이스