推 swuntoe:多謝你 我就是要問在VB.NET中的"NULL"是啥 10/12 16:32
※ 引述《swuntoe (人在匈奴心在蒜)》之銘言:
: Dim oButton1 = WB.Document.GetElementById("Sub")
: If oButton1 = Null Then
這行連編都編不過吧 囧"
如果你在別的語言用 Null 用很慣..
那要開始習慣在 VB.NET, 通常是用 Nothing 來判斷,
像是 If oButton is Nothing Then
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 210.192.196.141