Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
StringToUInt64 method
Collapse the table of content
Expand the table of content

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)

public static ulong StringToUInt64(
	string s


Type: System.String

The text value to convert.

Return value

Type: System.UInt64
The converted value.


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

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

© 2015 Microsoft