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: StringO 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
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.