Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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
)

Parameters

s
Type: System.String

The text value to convert.

Return value

Type: System.UInt64
The converted value.

ExceptionCondition
ArgumentNullException

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.

Show:
© 2015 Microsoft