IMetaDataEmit2::SetGenericParamProps Method
Sets property values for the generic parameter definition referenced by the specified token.
HRESULT SetGenericParamProps (
mdGenericParam gp,
DWORD dwParamFlags,
LPCWSTR szName,
DWORD reserved,
mdToken rtkConstraints[]
);
Parameters
Parameter | Description |
---|---|
gp |
[in] The token for the generic parameter definition for which to set values. |
dwParamFlags |
[in] A value of the CorGenericParamAttr Enumeration enumeration that describes the type for the generic parameter. |
szName |
[in] (optional) The name of the parameter for which to set values. |
reserved |
[in] Reserved for future extensibility. |
rtkConstraints |
[in] (optional) A zero-terminated array of type constraints. Array members must be an mdTypeDef, mdTypeRef, or mdTypeSpec metadata token. |
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