Share via


IMetaDataEmit::SetCustomAttributeValue メソッド

前の IMetaDataEmit::DefineCustomAttribute への呼び出しで定義されたカスタム属性の値を設定または更新します。

構文

HRESULT SetCustomAttributeValue (
    [in]  mdCustomAttribute       pcv,
    [in]  void const              *pCustomAttribute,
    [in]  ULONG                   cbCustomAttribute
);  

パラメーター

pcv
[in] 対象のカスタム属性のトークン。

pCustomAttribute
[in] カスタム属性を格納している配列へのポインター。

cbCustomAttribute
[in] カスタム属性のサイズ (バイト単位)。

必要条件

:システム要件」を参照してください。

ヘッダー: Cor.h

ライブラリ: MSCorEE.dll でリソースとして使用されます

.NET Framework のバージョン: 1.0 以降で使用可能

関連項目