Share via


IClassificationType.IsOfType Method

Determines whether the current IClassificationType derives from the classification type named type.

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

Syntax

'Declaration
Function IsOfType ( _
    type As String _
) As Boolean
bool IsOfType(
    string type
)
bool IsOfType(
    String^ type
)
abstract IsOfType : 
        type:string -> bool
function IsOfType(
    type : String
) : boolean

Parameters

  • type
    Type: System.String

    The name of the base classification type.

Return Value

Type: System.Boolean
true if the current classification type derives from the one identified by type, otherwise false.

.NET Framework Security

See Also

Reference

IClassificationType Interface

Microsoft.VisualStudio.Text.Classification Namespace