level 1
String.Format()函数只有有下面5种加载方式。
Public Shared Function Format(format As String, arg0 As Object) As String
Public Shared Function Format(format As String, arg0 As Object, arg1 As Object) As String
Public Shared Function Format(format As String, arg0 As Object, arg1 As Object, arg2 As Object) As String
Public Shared Function Format(format As String, ParamArray args() As Object) As String
Public Shared Function Format(provider As System.IFormatProvider, format As String, ParamArray args() As Object) As String
最多可以传3个 Object,楼主要传5个的话,只有传成数组形式ParamArray args() As Object。或者自己封装个方法。
2015年05月13日 06点05分