IMetaDataImport2::GetGenericParamConstraintProps Method
Gets the metadata associated with the generic parameter constraint represented by the specified constraint token.
Syntax
HRESULT GetGenericParamConstraintProps (
[in] mdGenericParamConstraint gpc,
[out] mdGenericParam *ptGenericParam,
[out] mdToken *ptkConstraintType
);
Parameters
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: See System Requirements.
Header: Cor.h
Library: Used as a resource in MsCorEE.dll
.NET Framework Versions: Available since 2.0
See also
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.