Compartir a través de


IClassifierProvider.GetClassifier Method

Gets a classifier for the given text buffer.

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

Syntax

'Declaración
Function GetClassifier ( _
    textBuffer As ITextBuffer _
) As IClassifier
IClassifier GetClassifier(
    ITextBuffer textBuffer
)
IClassifier^ GetClassifier(
    ITextBuffer^ textBuffer
)
abstract GetClassifier : 
        textBuffer:ITextBuffer -> IClassifier 
function GetClassifier(
    textBuffer : ITextBuffer
) : IClassifier

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.Classification.IClassifier
A classifier for the text buffer, or nulla null reference (Nothing in Visual Basic) if the provider cannot provide one in its current state.

.NET Framework Security

See Also

Reference

IClassifierProvider Interface

Microsoft.VisualStudio.Text.Classification Namespace