ModuleBuilder.SetSymCustomAttribute(String, Byte[]) 方法

定義

這個方法不會有任何作用。

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

參數

name
String

自訂屬性的名稱。

data
Byte[]

不透明的位元組二進位大型物件 (BLOB),表示自訂屬性的值。

例外狀況

urlnull

備註

這個方法不會有任何作用。

注意

從 .NET Framework 2.0 Service Pack 1 開始,此成員不再需要 ReflectionPermissionReflectionPermissionFlag.ReflectionEmit標。 (請參閱反映發出.) 的安全性問題 若要使用這項功能,您的應用程式應以 .NET Framework 3.5 或更新版本為目標。

適用於