IMetaDataEmit::SetParamProps Method
Sets or changes features of a method parameter that was defined by a prior call to IMetaDataEmit::DefineParam Method.
HRESULT SetParamProps (
[in] mdParamDef pd,
[in] LPCWSTR szName,
[in] DWORD dwParamFlags,
[in] DWORD dwCPlusTypeFlag,
[in] void const *pValue,
[in] ULONG cchValue
);
Parameters
Parameter | Description |
---|---|
pd |
[in] The token for the target parameter. |
szName |
[in] The name of the parameter in Unicode. |
dwParamFlags |
[in] The flags for the parameter. |
dwCPlusTypeFlag |
[in] The ELEMENT_TYPE_* for the constant value. |
pValue |
[in] The constant value for the parameter. |
cchValue |
[in] The size in (Unicode) characters of pValue. |
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, 1.1, 1.0