_Type.IsInstanceOfType(Object) Método

Definição

Fornece objetos COM com acesso independente de versão para o método IsInstanceOfType(Object).Provides COM objects with version-independent access to the IsInstanceOfType(Object) method.

public:
 bool IsInstanceOfType(System::Object ^ o);
public bool IsInstanceOfType (object o);
abstract member IsInstanceOfType : obj -> bool
Public Function IsInstanceOfType (o As Object) As Boolean

Parâmetros

o
Object

O objeto a ser comparado com o Type atual.The object to compare with the current Type.

Retornos

Boolean

true se o Type atual estiver na hierarquia de herança do objeto representado pelo o ou se o Type atual for uma interface com suporte no o.true if the current Type is in the inheritance hierarchy of the object represented by o, or if the current Type is an interface that o supports. false se nenhuma dessas condições for verdadeira, se o for null ou se o Type atual for um tipo genérico aberto (ou seja, ContainsGenericParameters retorna true).false if neither of these conditions is the case, or if o is null, or if the current Type is an open generic type (that is, ContainsGenericParameters returns true).

Comentários

Este método é para acesso a classes gerenciadas de código não gerenciado e não deve ser chamado em código gerenciado.This method is for access to managed classes from unmanaged code, and should not be called from managed code.

O Type.IsInstanceOfType método determina se o objeto especificado é uma instância do atual Type .The Type.IsInstanceOfType method determines whether the specified object is an instance of the current Type.

Aplica-se a