Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether the specified class is an array class.
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, 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 output parameters. Otherwise, it returns S_FALSE.
Requirements
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