This documentation is archived and is not being maintained.

MethodBuilder.SetCustomAttribute Method

Sets a custom attribute.

Name Description
MethodBuilder.SetCustomAttribute (CustomAttributeBuilder) Sets a custom attribute using a custom attribute builder.
MethodBuilder.SetCustomAttribute (ConstructorInfo, Byte[]) Sets a custom attribute using a specified custom attribute blob.
Show: