IDebugArrayField::GetElementType

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Gets the type of element in the array.

Syntax

HRESULT GetElementType(   
   IDebugField** ppType  
);  
int GetElementType(  
   out IDebugField ppType  
);  

Parameters

ppType
[out] Returns an IDebugField object that describes the type of element.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

The IDebugArrayField object assumes that all elements of the array are the same type.

See Also

IDebugArrayField
IDebugField