long class : Hex() method

Description

Gets a string that represents the hexadecimal value.

Syntax

longInstance.Hex()

Arguments

None

Return value

ClassDescription
stringA string that represents the hexadecimal value.

Sample code

//anyLong is a instance of long type.

string hexadecimal = anyLong.Hex();

Notes

It's a wrapper of the Microsoft.VisualBasic.Conversion.Hex(Int64).

Links for reference

Copyright © Rice All rights reserved.