ModuleBuilder.SetSymCustomAttribute(String, Byte[]) Metoda

Definicja

Ta metoda nic nie robi.

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())

Parametry

name
String

Nazwa atrybutu niestandardowego.

data
Byte[]

Nieprzezroczysty obiekt binarny (BLOB) bajtów reprezentujący wartość atrybutu niestandardowego.

Wyjątki

url to null.

Uwagi

Ta metoda nic nie robi.

Uwaga

Począwszy od .NET Framework 2.0 z dodatkiem Service Pack 1, ten element członkowski nie wymaga ReflectionPermission już flagi ReflectionPermissionFlag.ReflectionEmit . (Zobacz Problemy z zabezpieczeniami w emisji odbicia). Aby korzystać z tej funkcji, aplikacja powinna być docelowa dla .NET Framework 3.5 lub nowszej.

Dotyczy