3
這裏是我的代碼VBCodeProvider.CreateParser()返回Nothing?
Dim provider = New Microsoft.VisualBasic.VBCodeProvider()
Dim parser = provider.CreateParser()
parser
總是沒什麼。我知道方法CreateParser
已過時。如何創建一個VB代碼解析器?
謝謝!
這裏是我的代碼VBCodeProvider.CreateParser()返回Nothing?
Dim provider = New Microsoft.VisualBasic.VBCodeProvider()
Dim parser = provider.CreateParser()
parser
總是沒什麼。我知道方法CreateParser
已過時。如何創建一個VB代碼解析器?
謝謝!
解析器從未實現過。在任何語言提供者中。並且永遠不會,.NET 4.0中的方法已被刪除。當您在Google搜索框中鍵入「vb parser」時,還有其他替代方法,看起來很棒的選擇。