📄 usingstatement3.vb
字号:
Imports systemImports System.DiagnosticsClass UsingStatement3 Sub Test() 'Extracts all code files from the vbproj file. Const filename As String = "vbnc.vbproj" Using x As New Xml.XmlTextReader(filename) Dim i As Integer While x.Read() If x.Name = "Compile" AndAlso x.NodeType = Xml.XmlNodeType.Element Then x.MoveToAttribute("Include") Debug.WriteLine("""" & IO.Path.Combine("..\source\", x.Value) & """") i += 1 End If End While Debug.WriteLine("Total: " & i.ToString) End Using End SubEnd Class
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -