System.Convert 方法
LINQ to SQL 不支援下列Convert方法。
具有 IFormatProvider 參數的版本。
牽涉字元陣列或位元組陣列的方法:
下列方法:
public static <Type2> To<Type2>(<Type1> value);
,其中Type1
和Type2
各自為sbyte
、uint
、ulong
或ushort
。C#:
int To<int type>(string value, int fromBase),
ToString(... value, int toBase)
Visual Basic:
Function To(Of [Numeric])(value as String, fromBase As Integer)
As [Numeric], ToString( value As …, toBase As Integer)