IMetaDataEmit::SetCustomAttributeValue Method
Sets or updates the value of a custom attribute defined by a prior call to IMetaDataEmit::DefineCustomAttribute.
Syntax
HRESULT SetCustomAttributeValue (
[in] mdCustomAttribute pcv,
[in] void const *pCustomAttribute,
[in] ULONG cbCustomAttribute
);
Parameters
pcv
[in] The token of the target custom attribute.
pCustomAttribute
[in] A pointer to the array that contains the custom attribute.
cbCustomAttribute
[in] The size, in bytes, of the custom attribute.
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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.