将指定的文本值转换为 64 位无符号整数。
命名空间: Microsoft.SharePoint.Utilities
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Shared Function StringToUInt64 ( _
s As String _
) As ULong
用法
Dim s As String
Dim returnValue As ULong
returnValue = SPUtility.StringToUInt64(s)
public static ulong StringToUInt64(
string s
)
参数
s
类型:System.String要转换的文本值。
返回值
类型:System.UInt64
转换后的值。
异常
| 异常 | 条件 |
|---|---|
| ArgumentNullException | s为空或空引用(无 在 Visual Basic 中)。 |
备注
此方法将s参数中的文本值转换为 64 位无符号整数。