Compartir a través de


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

'Declaration
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

  • type
    Type: String

    The name of the classification type.

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