CompilerGlobalScopeAttribute Constructor ()

 

Initializes a new instance of the CompilerGlobalScopeAttribute class.

Namespace:   System.Runtime.CompilerServices
Assembly:  mscorlib (in mscorlib.dll)

Public Sub New

The following code example demonstrates how to apply the CompilerGlobalScopeAttribute.

Imports System.Runtime.CompilerServices

<CompilerGlobalScopeAttribute()> _
Module Program


    Sub Main(ByVal args() As String)
        Console.WriteLine("The attribute was applied.")
    End Sub


End Module

.NET Framework
Available since 1.1
Return to top
Show: