Bagikan melalui


SuppressIldasmAttribute Konstruktor

Definisi

Menginisialisasi instans baru kelas SuppressIldasmAttribute.

public:
 SuppressIldasmAttribute();
public SuppressIldasmAttribute ();
Public Sub New ()

Contoh

Contoh kode berikut menunjukkan cara menerapkan atribut ke SuppressIldasmAttribute assembly.

using System;
using System.Runtime.CompilerServices;

[assembly: SuppressIldasmAttribute()]
class Program
{
    static void Main(string[] args)
    {
        Console.WriteLine("The SuppressIldasmAttribute is applied to this assembly.");
    }
}
Imports System.Runtime.CompilerServices



<Assembly: SuppressIldasmAttribute()> 


Class Program

    Shared Sub Main(ByVal args() As String)
        Console.WriteLine("The SuppressIldasmAttribute is applied to this assembly.")

    End Sub
End Class

Keterangan

SuppressIldasmAttribute Terapkan atribut ke perakitan atau modul untuk mencegah perakitan atau modul dibongkar menggunakan Ildasm.exe (Il Disassembler).

Berlaku untuk