Compartilhar via


Método IClassificationType.IsOfType

Determina se o atual IClassificationType deriva o tipo de classificação chamado type.

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

Sintaxe

'Declaração
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

Parâmetros

  • type
    Tipo: String

    O nome do tipo base de classificação.

Valor de retorno

Tipo: Boolean
true Se o tipo de classificação atual deriva daquela identificada pela type, caso contrário, false.

Segurança do .NET Framework

Consulte também

Referência

IClassificationType Interface

Namespace Microsoft.VisualStudio.Text.Classification