Muokkaa

Jaa


ICorProfilerInfo::IsArrayClass Method

Determines whether the specified class is an array class.

Syntax

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

Parameters

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

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

pBaseClassId
[out] A pointer to the class ID of the array elements, when available.

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 output parameters. Otherwise, it returns S_FALSE.

Requirements

Platforms: See System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0

See also