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)

'Declaration
Public Sub SetCustomAttribute ( _
	con As ConstructorInfo, _
	binaryAttribute As Byte() _
)

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