EnumBuilder.SetCustomAttributeCore Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.