[]
        
(Showing Draft Content)

C1.Framework.NumberTranslator.HighWord

HighWord Method

HighWord(uint)

Get the higher word from a unsigned integer value.

Declaration
public static ushort HighWord(uint value)
Public Shared Function HighWord(value As UInteger) As UShort
Parameters
Type Name Description
uint value

An unint indicates the unsigned integer value.

Returns
Type Description
ushort

Returns the higher word as result.

HighWord(int)

Get the higher word from a integer value.

Declaration
public static short HighWord(int value)
Public Shared Function HighWord(value As Integer) As Short
Parameters
Type Name Description
int value

An unint indicates the integer value.

Returns
Type Description
short

Returns the higher word as result.

HighWord(nint)

Get the higher word from a nint value.

Declaration
public static short HighWord(nint intValue)
Public Shared Function HighWord(intValue As IntPtr) As Short
Parameters
Type Name Description
nint intValue

An unint indicates the nint value.

Returns
Type Description
short

Returns the higher word as result.