다음을 통해 공유


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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