See Also: CustomAttributeBuilder Members
Use the CustomAttributeBuilder object returned by the constructor to describe the custom attribute. Associate the CustomAttribute with a builder instance by calling the SetCustomAttribute method on that builder instance. For example, create a CustomAttributeBuilder to describe an instance of AssemblyCultureAttribute by supplying the constructor of System.Reflection.AssemblyCultureAttribute and its argument. Then call AssemblyBuilder.SetCustomAttribute(System.Reflection.ConstructorInfo, Byte[]) on an AssemblyBuilder to establish the association.