System.Reflection.Emit.ModuleBuilder.SetSymCustomAttribute Method

This method does nothing.

Syntax

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

Parameters

name
The name of the custom attribute
data
An opaque binary large object (BLOB) of bytes that represents the value of the custom attribute.

Remarks

This method does nothing.

Note:

Starting with the net_v20sp1_long, this member no longer requires System.Security.Permissions.ReflectionPermission with the System.Security.Permissions.ReflectionPermissionFlag.ReflectionEmit flag. (See Security Issues in Reflection Emit.) To use this functionality, your application should target the net_v35_long or later.

Requirements

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