英語で読む

次の方法で共有


ModuleBuilder.SetCustomAttributeCore メソッド

定義

派生クラスでオーバーライドされた場合は、このアセンブリにカスタム属性を設定します。

C#
protected abstract void SetCustomAttributeCore(System.Reflection.ConstructorInfo con, ReadOnlySpan<byte> binaryAttribute);

パラメーター

con
ConstructorInfo

カスタム属性のコンストラクター。

binaryAttribute
ReadOnlySpan<Byte>

ReadOnlySpan<T>属性を表すバイトの 。

適用対象

製品 バージョン
.NET 8, 9