IDebugHostType2::GetTypeKind method (dbgmodel.h)
The GetTypeKind method returns what kind of type (pointer, array, intrinsic, etc...) the symbol refers to.
Syntax
HRESULT GetTypeKind(
TypeKind *kind
);
Parameters
kind
The kind of type the symbol refers to will be returned here (as a member of the TypeKind enumeration).
Return value
This method returns HRESULT that indicates success or failure.
Remarks
Sample Code
ComPtr<IDebugHostType2> 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...
}
Requirements
Requirement | Value |
---|---|
Header | dbgmodel.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for