TypeBuilder.SetCustomAttribute Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Sets a custom attribute.

Namespace:   System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodSetCustomAttribute(ConstructorInfo, Byte[])

Sets a custom attribute using a specified custom attribute blob.

System_CAPS_pubmethodSetCustomAttribute(CustomAttributeBuilder)

Set a custom attribute using a custom attribute builder.

Return to top
Show: