XmlConvert.ToInt64(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public:
static long ToInt64(System::String ^ s);
public static long ToInt64(string s);
static member ToInt64 : string -> int64
Public Shared Function ToInt64 (s As String) As Long
参数
- s
- String
要转换的字符串。
返回
字符串 Int64 的等效项。
例外
s 是 null。
s 格式不正确。
s 表示小于 Int64.MinValue 或大于 Int64.MaxValue 的数字。