EventBuilder.SetCustomAttributeCore Method

Definition

When overridden in a derived class, sets a custom attribute on this assembly.

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

Parameters

con
ConstructorInfo

The constructor for the custom attribute.

binaryAttribute
ReadOnlySpan<Byte>

A ReadOnlySpan<T> of bytes representing the attribute.

Applies to

Product Versions
.NET 8, 9