IMetaDataImport2::GetGenericParamConstraintProps Method
Gets the metadata associated with the generic parameter constraint represented by the specified constraint token.
HRESULT GetGenericParamConstraintProps (
mdGenericParamConstraint gpc,
mdGenericParam *ptGenericParam,
mdToken *ptkConstraintType
);
Parameters
Parameter | Description |
---|---|
gpc |
[in] The token to the generic parameter constraint for which to return the metadata. |
ptGenericParam |
[out] A pointer to the token that represents the generic parameter that is constrained. |
ptkConstraintType |
[out] A pointer to a TypeDef, TypeRef, or TypeSpec token that represents a constraint on ptGenericParam. |
Requirements
Platforms: Windows 2000, Windows XP, Windows Server 2003 family
Header: Cor.h
Library: Used as a resource in Mscoree.dll
.NET Framework Version: 2.0