ModuleBuilder.SetSymCustomAttribute(String, Byte[]) Método

Definição

Esse método não faz nada.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())

Parâmetros

name
String

O nome do atributo personalizadoThe name of the custom attribute

data
Byte[]

Um BLOB (objeto binário grande) opaco de bytes que representa o valor do atributo personalizado.An opaque binary large object (BLOB) of bytes that represents the value of the custom attribute.

Exceções

url é null.url is null.

Comentários

Esse método não faz nada.This method does nothing.

Observação

A partir do .NET Framework 2,0 Service Pack 1, esse membro não requer mais ReflectionPermission com o ReflectionPermissionFlag.ReflectionEmit sinalizador.Starting with the .NET Framework 2.0 Service Pack 1, this member no longer requires ReflectionPermission with the ReflectionPermissionFlag.ReflectionEmit flag. (Consulte problemas de segurança em emissão de reflexo.) Para usar essa funcionalidade, seu aplicativo deve ter como destino o .NET Framework 3,5 ou posterior.(See Security Issues in Reflection Emit.) To use this functionality, your application should target the .NET Framework 3.5 or later.

Aplica-se a