[]
        
(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(IntPtr)

Get the higher word from a IntPtr value.

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

An unint indicates the IntPtr value.

Returns
Type Description
short

Returns the higher word as result.