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);
Parameters
Parameter | Description |
---|---|
classId |
[in] The ID of the class to be examined. |
pBaseElemType |
[out] A pointer to a value of the CorElementType Enumeration enumeration that indicates the type of the array elements. |
pBaseClassId |
[out] A pointer to the class ID of the array elements, if the value of *pBaseElemType is ELEMENT_TYPE_CLASS. |
pcRank |
[out] A pointer to an integer that indicates the rank (that is, number of dimensions) of the array. |
Remarks
If the specified class is an array class, the IsArrayClass method returns an S_OK HRESULT and values for any non-null "out" parameters. Otherwise, it returns S_FALSE.
Requirements
Platforms: Windows 2000, Windows XP, Windows Server 2003 family
Header: CorProf.idl
Library: CorGuids.lib
.NET Framework Version: 2.0