The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
IMetaDataImport::EnumTypeSpecs method
Enumerates TypeSpec tokens defined in the current metadata scope.
Syntax
HRESULT EnumTypeSpecs( [in, out] HCORENUM *phEnum, [out, size_is(cMax), length_is(*pcTypeSpecs)] mdTypeSpec rgTypeSpecs[], [in] ULONG cMax, [out] ULONG *pcTypeSpecs );
Parameters
- phEnum [in, out]
-
A pointer to the enumerator. This value must be NULL for the first call of this method.
- rgTypeSpecs [out]
-
The array used to store the TypeSpec tokens.
- cMax [in]
-
The maximum size of the rgTypeSpecs array.
- pcTypeSpecs [out]
-
The number of TypeSpec tokens returned in rgTypeSpecs.
Return value
| HRESULT | Description |
|---|---|
| S_OK | EnumTypeSpecs returned successfully. |
| S_FALSE | There are no tokens to enumerate. In this case, pcTypeSpecs is 0 (zero). |
Requirements
|
IDL |
|
|---|
See also
Show: