ParameterBuilder.SetCustomAttribute Method (ConstructorInfo, Byte[])

May 11, 2014

Set a custom attribute using a specified custom attribute blob.

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

public void SetCustomAttribute(
	ConstructorInfo con,
	byte[] binaryAttribute
)

Parameters

con
Type: System.Reflection.ConstructorInfo
The constructor for the custom attribute.
binaryAttribute
Type: System.Byte []
A byte blob representing the attributes.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2014 Microsoft