共用方式為


IVsFontsAndColorsInformation.GetClassificationType Method

Gets the type used by the language service classifier for the colorable item at the specified index.

Namespace:  Microsoft.VisualStudio.Editor
Assembly:  Microsoft.VisualStudio.Editor (in Microsoft.VisualStudio.Editor.dll)

Syntax

'宣告
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

Parameters

  • colorableItemIndex
    Type: System.Int32
    The index of the colorable item.

Return Value

Type: Microsoft.VisualStudio.Text.Classification.IClassificationType
Returns an IClassificationType.

.NET Framework Security

See Also

Reference

IVsFontsAndColorsInformation Interface

Microsoft.VisualStudio.Editor Namespace