System.Reflection.Emit.MethodBuilder.SetSymCustomAttribute Method

Set a symbolic custom attribute using a blob.

Syntax

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

Parameters

name
The name of the symbolic custom attribute.
data
The byte blob that represents the value of the symbolic custom attribute.

Remarks

Unlike the metadata custom attribute, this custom attribute is associated with a symbol writer.

Requirements

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