TypeBuilder.SetCustomAttributeCore Methode

Definition

Legt beim Überschreiben in einer abgeleiteten Klasse ein benutzerdefiniertes Attribut für diese Assembly fest.

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))

Parameter

con
ConstructorInfo

Der Konstruktor für das benutzerdefinierte Attribut.

binaryAttribute
ReadOnlySpan<Byte>

Eine ReadOnlySpan<T> von Bytes, die das Attribut darstellt.

Gilt für: