System.Reflection.Emit.ConstructorBuilder.SetSymCustomAttribute Method

Sets this constructor's custom attribute associated with symbolic information.

Syntax

public void SetSymCustomAttribute (string name, byte[] data)

Parameters

name
The name of the custom attribute.
data
The value of the custom attribute.

Remarks

The following code sample illustrates the use of SetSymCustomAttributes.

code reference: ConstructorBuilder_SetSymCustomAttribute#1

Requirements

Namespace: System.Reflection.Emit
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0