IMetaDataEmit::SetParamProps Method
Sets or changes features of a method parameter that was defined by a prior call to IMetaDataEmit::DefineParam.
Syntax
HRESULT SetParamProps (
[in] mdParamDef pd,
[in] LPCWSTR szName,
[in] DWORD dwParamFlags,
[in] DWORD dwCPlusTypeFlag,
[in] void const *pValue,
[in] ULONG cchValue
);
Parameters
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: See System Requirements.
Header: Cor.h
Library: Used as a resource in MSCorEE.dll
.NET Framework Versions: Available since 1.0
See also
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.