SuppressIldasmAttribute Constructor

Definitie

Initialiseert een nieuw exemplaar van de SuppressIldasmAttribute klasse.

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

Voorbeelden

In het volgende codevoorbeeld ziet u hoe u het SuppressIldasmAttribute kenmerk toepast op een 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

Opmerkingen

Pas het SuppressIldasmAttribute kenmerk toe op een assembly of module om te voorkomen dat de assembly of module wordt gedemonteerd met behulp van de Ildasm.exe (IL Disassembler).

Van toepassing op