如何将C#程序翻译成VB.NET的程序?只有两行,在线等
//调用dll方法
[DllImport("EUCPComm.dll",EntryPoint="SendSMS")] //即时发送
public static extern int SendSMS(string sn,string mn,string ct,string priority);
就是这两句,请问怎么翻译成VB.NET?多谢!
[解决办法]
'调用dll方法
'即时发送
<DllImport("EUCPComm.dll", EntryPoint := "SendSMS")> _
Public Shared Function SendSMS(sn As String, mn As String, ct As String, priority As String) As Integer
End Function
[解决办法]
http://www.developerfusion.com/tools/convert/csharp-to-vb/
[解决办法]
<DllImport("EUCPComm.dll", EntryPoint := "SendSMS")> _是可以
的