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
'Dichiarazione
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
- 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.