Export (0) Print
Expand All
Expand Minimize

ICorProfilerInfo::IsArrayClass Method

Determines whether the specified class is an array class.

HRESULT IsArrayClass(
    [in]  ClassID        classId,
    [out] CorElementType *pBaseElemType,
    [out] ClassID        *pBaseClassId,
    [out] ULONG          *pcRank);


[in] The ID of the class to be examined.


[out] A pointer to a value of the CorElementType enumeration that indicates the type of the array elements.


[out] A pointer to the class ID of the array elements, if the value of pBaseElemType is ELEMENT_TYPE_CLASS.


[out] A pointer to an integer that indicates the rank (that is, number of dimensions) of the array.

If the specified class is an array class, the IsArrayClass method returns an S_OK HRESULT and values for any non-null output parameters. Otherwise, it returns S_FALSE.

Platforms: See .NET Framework System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

Community Additions

© 2014 Microsoft