This documentation is archived and is not being maintained.

Operators.LeftShiftObject Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Represents the Visual Basic arithmetic left shift (<<) operator.

Namespace:  Microsoft.VisualBasic.CompilerServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public static Object LeftShiftObject(
	Object Operand,
	Object Amount


Type: System.Object

Required. Integral numeric expression. The bit pattern to be shifted. The data type must be an integral type (SByte, Byte, Short, UShort, Integer, UInteger, Long, or ULong).

Type: System.Object

Required. Numeric expression. The number of bits to shift the bit pattern. The data type must be Integer or widen to Integer.

Return Value

Type: System.Object
An integral numeric value. The result of shifting the bit pattern. The data type is the same as that of Operand.

This class supports the Visual Basic compiler and is not intended to be used directly from your code.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0

.NET Compact Framework

Supported in: 3.5, 2.0