ModuleBuilder.SetCustomAttributeCore Método

Definição

Quando sobrescrito numa classe derivada, define um atributo personalizado nessa assembleia.

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

Parâmetros

con
ConstructorInfo

O construtor para o atributo personalizado.

binaryAttribute
ReadOnlySpan<Byte>

A ReadOnlySpan<T> de bytes que representam o atributo.

Aplica-se a