ParameterBuilder.SetCustomAttribute Method (CustomAttributeBuilder)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Set a custom attribute using a custom attribute builder.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- customBuilder
- Type: System.Reflection.Emit.CustomAttributeBuilder
An instance of a helper class to define the custom attribute.
| Exception | Condition |
|---|---|
| ArgumentNullException | con is Nothing. |
Show: