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.HexStringToLong method

Converts the specified hexadecimal value to a long value.

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

public static long HexStringToLong(
	string s
)

Parameters

s
Type: System.String

The hexadecimal value to convert.

Return value

Type: System.Int64
The converted value.

ExceptionCondition
NullReferenceException

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

ArgumentException

The length of s is greater than 16.

This method converts the hexadecimal value of the s parameter to long format.

Show:
© 2015 Microsoft