⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 attribute3.vb

📁 大名鼎鼎的mono是.NET平台的跨平台(支持linux
💻 VB
字号:
Imports System.Runtime.CompilerServicesImports System.Reflection<Assembly: RuntimeCompatibility(WrapNonExceptionThrows:=True)> Class Attribute3    Shared Function Main() As Integer        Dim attr As RuntimeCompatibilityAttribute        Dim a As Assembly = Assembly.GetExecutingAssembly        If a.IsDefined(GetType(RuntimeCompatibilityAttribute), False) = False Then            Return 1        End If        attr = TryCast(a.GetCustomAttributes(GetType(RuntimeCompatibilityAttribute), False)(0), RuntimeCompatibilityAttribute)        If attr Is Nothing Then            Return 2        End If        If attr.WrapNonExceptionThrows = False Then            Return 3        End If        Return 0    End FunctionEnd Class

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -