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

bool IsOfType(
    string type
)

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