Operators.LeftShiftObject(Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the Visual Basic arithmetic left shift (<<) operator.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
static System::Object ^ LeftShiftObject(System::Object ^ Operand, System::Object ^ Amount);
public static object LeftShiftObject(object Operand, object Amount);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The object types cannot be statically analyzed so their operators may be trimmed")]
public static object? LeftShiftObject(object? Operand, object? Amount);
public static object? LeftShiftObject(object? Operand, object? Amount);
static member LeftShiftObject : obj * obj -> obj
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The object types cannot be statically analyzed so their operators may be trimmed")>]
static member LeftShiftObject : obj * obj -> obj
Public Shared Function LeftShiftObject (Operand As Object, Amount As Object) As Object
Parameters
- Operand
- 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).
- Amount
- Object
Required. Numeric expression. The number of bits to shift the bit pattern. The data type must be Integer or widen to Integer.
Returns
An integral numeric value. The result of shifting the bit pattern. The data type is the same as that of Operand.
- Attributes
Remarks
This class supports the Visual Basic compiler and is not intended to be used directly from your code.