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 |
isarray | microsoft.visualbasic.information.isarray |
isdate | microsoft.visualbasic.information.isdate |
isempty | microsoft.visualbasic.information.isempty |
isnull | system.convert.isdbnull |
isnumeric | microsoft.visualbasic.information.isnumeric |
isobject | * |
join | microsoft.visualbasic.strings.join |
lbound | microsoft.visualbasic.information.lbound |
lcase | system.string.tolower |
left, leftb | system.string.substring(0,..) |
len, lenb | system.string.length |
loadpicture | * |
log | system.math.log |
ltrim | system.string.trimstart |
mid, midb | system.string.substring |
minute | microsoft.visualbasic.dateandtime.minute |
month | microsoft.visualbasic.dateandtime.month |
monthname | microsoft.visualbasic.dateandtime.monthname |
msgbox | microsoft.visualbasic.interaction.msgbox |
now | system.datetime.now |
oct | microsoft.visualbasic.conversion.oct |
replace | microsoft.visualbasic.strings.replace |
rgb | microsoft.visualbasic.information.rgb |
right, rightb | system.string.substring |
rnd | microsoft.visualbasic.vbmath.rnd |
round | system.math.round |
rtrim | system.string.trimend |
scriptengine | * |
scriptenginebuildversion | * |
scriptenginemajorversion | * |
scriptengineminorversion | * |
second | microsoft.visualbasic.dateandtime.second |
setlocale | * |
sgn | system.math.sign |
sin | system.math.sin |
space | new string(' ',...) |
split | microsoft.visualbasic.strings.split |
sqr | system.math.sqrt |
strcomp | system.string.compare |
string | new string() |
strreverse | microsoft.visualbasic.strings.strreverse |
tan | system.math.tan |
time | microsoft.visualbasic.dateandtime.timeofday |
timer | microsoft.visualbasic.dateandtime.timer |
timeserial | microsoft.visualbasic.dateandtime.timeserial |
timevalue | microsoft.visualbasic.dateandtime.timevalue |
trim | system.string.trim |
typename | microsoft.visualbasic.information.typename |
ubound | microsoft.visualbasic.information.ubound |
ucase | system.string.toupper |
vartype | microsoft.visualbasic.information.vartype |
weekday | microsoft.visualbasic.dateandtime.weekday |
weekdayname | microsoft.visualbasic.dateandtime.weekdayname |
year | microsoft.visualbasic.dateandtime.year |
* don't support these functions.
新闻热点
疑难解答
图片精选