Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
Gets an enumerator for an array of generic parameter constraints associated with the generic parameter represented by the specified token.
Syntax
HRESULT EnumGenericParamConstraints(
[in, out] HCORENUM *phEnum,
[in] mdGenericParam tk,
[out] mdGenericParamConstraint [] rGenericParamConstraints,
[in] ULONG cMax,
[out] ULONG *pcGenericParamConstraints
);
Parameters
[in, out] phEnum
A pointer to the enumerator.
[in] tk
A token that represents the generic parameter whose constraints are to be enumerated.
[out] rGenericParamConstraints
The array of generic parameter constraints to enumerate.
[in] cMax
The requested maximum number of tokens to place in rGenericParamConstraints.
[out] pcGenericParamConstraints
A pointer to the number of tokens placed in rGenericParamConstraints.
Return value
| HRESULT | Description |
|---|---|
| S_OK | EnumGenericParamConstraints returned successfully. |
| S_FALSE | phEnum has no member elements. In this case, pcGenericParameterConstraints is set to 0 (zero). |
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | rometadataapi.h |