Partager via


IClassificationTypeRegistryService.GetClassificationType Method

Gets the IClassificationType object identified by the specified type.

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

Syntax

'Déclaration
Function GetClassificationType ( _
    type As String _
) As IClassificationType
IClassificationType GetClassificationType(
    string type
)
IClassificationType^ GetClassificationType(
    String^ type
)
abstract GetClassificationType : 
        type:string -> IClassificationType 
function GetClassificationType(
    type : String
) : IClassificationType

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.Classification.IClassificationType
The classification type, nulla null reference (Nothing in Visual Basic) if there is no classification type of that name.

.NET Framework Security

See Also

Reference

IClassificationTypeRegistryService Interface

Microsoft.VisualStudio.Text.Classification Namespace