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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.