求C#到VB.NET的翻译,没什么分,恳请友情赞助 //调用dll方法 [DllImport("EUCPComm.dll",EntryPoint="SendSMS")] //即时发送 public static extern int SendSMS(string sn,string mn,string ct,string priority);
就是这两句,请问怎么翻译成VB.NET?多谢!
------解决方案--------------------
VB code
<DllImport("EUCPComm.dll", EntryPoint:="SendSMS")> _
Public Function SendSMS(ByVal sn As String, ByVal mn As String, ByVal ct As String, ByVal priority As String) As Integer
End Function