Rediger

Del via


PropertyBuilder.SetCustomAttributeCore Method

Definition

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

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

Parameters

con
ConstructorInfo

The constructor for the custom attribute.

binaryAttribute
ReadOnlySpan<Byte>

A ReadOnlySpan<T> of bytes representing the attribute.

Applies to