设置或更新之前调用 IMetaDataEmit::D efineCustomAttribute 定义的自定义属性的值。
Syntax
HRESULT SetCustomAttributeValue (
[in] mdCustomAttribute pcv,
[in] void const *pCustomAttribute,
[in] ULONG cbCustomAttribute
);
Parameters
pcv [in]目标自定义属性的标记。
pCustomAttribute [in]指向包含自定义属性的数组的指针。
cbCustomAttribute [in]自定义属性的大小(以字节为单位)。
Requirements
平台: 请参阅 .NET 支持的作系统。
Header: Cor.h
Library: CorGuids.lib