Partager via


IVsFontsAndColorsInformation.GetClassificationType, méthode

Obtient le type utilisé par le classifieur de service de langage pour l'élément coloriable à l'index spécifié.

Espace de noms :  Microsoft.VisualStudio.Editor
Assembly :  Microsoft.VisualStudio.Editor (dans Microsoft.VisualStudio.Editor.dll)

Syntaxe

'Déclaration
Function GetClassificationType ( _
    colorableItemIndex As Integer _
) As IClassificationType
IClassificationType GetClassificationType(
    int colorableItemIndex
)
IClassificationType^ GetClassificationType(
    int colorableItemIndex
)
abstract GetClassificationType : 
        colorableItemIndex:int -> IClassificationType
function GetClassificationType(
    colorableItemIndex : int
) : IClassificationType

Paramètres

  • colorableItemIndex
    Type : Int32

    Index de l'élément coloriable.

Valeur de retour

Type : Microsoft.VisualStudio.Text.Classification.IClassificationType
Retourne une valeur de type IClassificationType.

Sécurité .NET Framework

Voir aussi

Référence

IVsFontsAndColorsInformation Interface

Microsoft.VisualStudio.Editor, espace de noms