Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IMetaDataImport2::GetGenericParamConstraintProps Method

Gets the metadata associated with the generic parameter constraint represented by the specified constraint token.

HRESULT GetGenericParamConstraintProps (
   [in]  mdGenericParamConstraint  gpc,
   [out] mdGenericParam            *ptGenericParam,
   [out] mdToken                   *ptkConstraintType


[in] The token to the generic parameter constraint for which to return the metadata.


[out] A pointer to the token that represents the generic parameter that is constrained.


[out] A pointer to a TypeDef, TypeRef, or TypeSpec token that represents a constraint on ptGenericParam.

Platforms: See .NET Framework System Requirements.

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

.NET Framework Versions: 4.6 RC, 4.5.2, 4.5.1, 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

© 2015 Microsoft