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 : Int32Index de l'élément coloriable.
Valeur de retour
Type : Microsoft.VisualStudio.Text.Classification.IClassificationType
Retourne une valeur de type IClassificationType.
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, voir Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.