SetCustomAttribute Method (ConstructorInfo, Byte[])
Collapse the table of content
Expand the table of content

ParameterBuilder.SetCustomAttribute Method (ConstructorInfo, Byte())

[ 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 specified custom attribute blob.

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

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


Type: System.Reflection.ConstructorInfo
The constructor for the custom attribute.
Type: System.Byte ()
A byte blob representing the attributes.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

© 2016 Microsoft