Compartilhar via


Método IDebugHostType::GetTypeKind (dbgmodel.h)

O método GetTypeKind retorna o tipo de tipo (ponteiro, matriz, intrínseco etc...) ao qual o símbolo se refere. Consulte a enumeração TypeKind para obter mais informações.

Sintaxe

HRESULT GetTypeKind(
  TypeKind *kind
);

Parâmetros

kind

O tipo de tipo ao qual o símbolo se refere será retornado aqui (como um membro da enumeração TypeKind).

Retornar valor

Esse método retorna HRESULT que indica êxito ou falha.

Comentários

Código de exemplo

ComPtr<IDebugHostType> spType; /* get a type (see FindTypeByName) */

TypeKind tk;
if (SUCCEEDED(spType->GetTypeKind(&tk)))
{
    // tk is the kind of type
    //    TypePointer: it's a pointer
    //    TypeArray:   it's an array
    //    etc...
}

Requisitos

Requisito Valor
Cabeçalho dbgmodel.h

Confira também

Interface IDebugHostType