日期:2010-04-03 浏览次数:20837 次
VBScript 5.6 Functions | C# code |
Abs | System.Math.Abs |
Array | New Object() { } |
Asc, AscB, AscW | Microsoft.VisualBasic.Strings.Asc |
Atn | System.Math.Atan |
CBool | System.Convert.ToBoolean |
CByte | System.Convert.ToByte |
CCur | System.Convert.ToDecimal |
CDate | System.Convert.ToDateTime * |
CDbl | System.Convert.ToDouble |
Chr | (char) |
CInt | System.Convert.ToInt32 |
CLng | System.Convert.ToInt64 |
Cos | System.Math.Cos |
CreateObject | CreateObject or New Instance in .NET |
CStr | System.Convert.ToString |
Date | DateTime.Today |
DateAdd | Microsoft.VisualBasic.DateAndTime.DateAdd |
DateDiff | Microsoft.VisualBasic.DateAndTime.DateDiff |
DatePart | Microsoft.VisualBasic.DateAndTime.DatePart |
DateSerial | Microsoft.VisualBasic.DateAndTime.DateSerial |
DateValue | Microsoft.VisualBasic.DateAndTime.DateValue |
Day | Microsoft.VisualBasic.DateAndTime.Day |
Eval | (Does not support) |
Exp | System.Math.Exp |
Filter | Microsoft.VisualBasic.Strings.Filter |
Fix | Microsoft.VisualBasic.Conversion.Fix |
FormatCurrency | Microsoft.VisualBasic.Strings.FormatCurrency |
FormatDateTime | Microsoft.VisualBasic.Strings.FormatDateTime |
FormatNumber | Microsoft.VisualBasic.Strings.FormatNumber |
GetLocale | Session.LCID |
GetObject | Microsoft.VisualBasic.Interaction.GetObject |
GetRef | (Does not support) |
Hex | Microsoft.VisualBasic.Conversion.Hex |
Hour | Microsoft.VisualBasic.DateAndTime.Hour |
InputBox | Microsoft.VisualBasic.Interaction.InputBox |
InStr, InstrB | Microsoft.VisualBasic.Strings.InStr |
InStrRev | Microsoft.VisualBasic.Strings.InStrRev |
Int | Microsoft.VisualBasic.Conversion.Int |