Export (0) Print
Expand All

IMetaDataEmit2::SetGenericParamProps Method

Sets property values for the generic parameter definition referenced by the specified token.

HRESULT SetGenericParamProps (
    [in] mdGenericParam   gp, 
    [in] DWORD            dwParamFlags, 
    [in] LPCWSTR          szName, 
    [in] DWORD            reserved, 
    [in] mdToken          rtkConstraints[]


[in] The token for the generic parameter definition for which to set values.


[in] A value of the CorGenericParamAttr enumeration that describes the type for the generic parameter.


[in] (optional) The name of the parameter for which to set values.


[in] Reserved for future extensibility.


[in] (optional) A zero-terminated array of type constraints. Array members must be an mdTypeDef, mdTypeRef, or mdTypeSpec metadata token.

Platforms: See .NET Framework System Requirements.

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

.NET Framework Versions: 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

© 2014 Microsoft