📄 attributeassemblydescription.vb
字号:
'Author: Ritvik Mayank <mritvik@novell.com>'Copyright (C) 2005 Novell, Inc (http://www.novell.com)Imports SystemImports System.ReflectionImports System.Runtime.CompilerServices<Assembly: AssemblyDescription("Mono VB Compiler")> Module Test Function Main() As Integer Dim asm As System.Reflection.Assembly Dim i As Integer asm = System.Reflection.Assembly.GetAssembly(GetType(Test)) Dim att As Object() = asm.GetCustomAttributes(GetType(System.Reflection.AssemblyDescriptionAttribute), False) For i = 0 To att.Length - 1 If att(i).ToString() <> "System.Reflection.AssemblyDescriptionAttribute" Then System.Console.WriteLine("Expected System.Reflection.AssemblyDescriptionAttribute") : Return 1 End If Next i End FunctionEnd Module
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -