SPUtility.StringToUInt64 method

Converts the specified text value to a 64-bit unsigned integer.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Function StringToUInt64 ( _
    s As String _
) As ULong
'Usage
Dim s As String
Dim returnValue As ULong

returnValue = SPUtility.StringToUInt64(s)
public static ulong StringToUInt64(
    string s
)

Parameters

Return value

Type: System.UInt64
The converted value.

Exceptions

Exception Condition
ArgumentNullException

s is empty or a null reference (Nothing in Visual Basic).

Remarks

This method converts the text value in the s parameter to a 64-bit unsigned integer.

See also

Reference

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace