📄 attribute3.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 + -