Freigeben über


IDebugHostData::GetLocationKind-Methode (dbgmodel.h)

Die GetLocationKind-Methode gibt die Art der Position zurück, an der sich das Symbol gemäß der LocationKind-Aufzählung befindet. Die Beschreibung dieser Aufzählung finden Sie in der Dokumentation für IDebugHostField.

Syntax

HRESULT GetLocationKind(
  LocationKind *locationKind
);

Parameter

locationKind

Die Art der Position für dieses Feld wird hier als Wert der LocationKind-Aufzählung zurückgegeben.

Rückgabewert

Diese Methode gibt HRESULT zurück, das Erfolg oder Fehler angibt.

Bemerkungen

Beispielcode-

ComPtr<IDebugHostData> spData; /* get a data symbol */

LocationKind kind;
if (SUCCEEDED(spData->GetLocationKind(&kind)))
{
    // kind indicates the kind of location (e.g.: static, constant, member, etc...)
}

Anforderungen

Anforderung Wert
Header- dbgmodel.h

Siehe auch

IDebugHostData-Schnittstelle