Share via


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[]
);

Parameters

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

  • dwParamFlags
    [in] A value of the CorGenericParamAttr 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

See Also

Concepts

IMetaDataEmit2 Interface

IMetaDataEmit Interface