Editare

Partajați prin


ModuleBuilder.SetSymCustomAttribute(String, Byte[]) Method

Definition

This method does nothing.

public:
 void SetSymCustomAttribute(System::String ^ name, cli::array <System::Byte> ^ data);
public void SetSymCustomAttribute (string name, byte[] data);
member this.SetSymCustomAttribute : string * byte[] -> unit
Public Sub SetSymCustomAttribute (name As String, data As Byte())

Parameters

name
String

The name of the custom attribute.

data
Byte[]

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

Exceptions

url is null.

Remarks

This method does nothing.

Note

Starting with the .NET Framework 2.0 Service Pack 1, this member no longer requires ReflectionPermission with the ReflectionPermissionFlag.ReflectionEmit flag. (See Security Issues in Reflection Emit.) To use this functionality, your application should target the .NET Framework 3.5 or later.

Applies to