ConstructorBuilder.SetCustomAttributeCore 方法

定义

在派生类中重写时,在此构造函数上设置自定义属性。

protected:
 abstract void SetCustomAttributeCore(System::Reflection::ConstructorInfo ^ con, ReadOnlySpan<System::Byte> binaryAttribute);
protected abstract void SetCustomAttributeCore (System.Reflection.ConstructorInfo con, ReadOnlySpan<byte> binaryAttribute);
abstract member SetCustomAttributeCore : System.Reflection.ConstructorInfo * ReadOnlySpan<byte> -> unit
Protected MustOverride Sub SetCustomAttributeCore (con As ConstructorInfo, binaryAttribute As ReadOnlySpan(Of Byte))

参数

con
ConstructorInfo

自定义属性的构造函数。

binaryAttribute
ReadOnlySpan<Byte>

表示 ReadOnlySpan<T> 属性的字节的 。

适用于