Operators.LeftShiftObject(Object, Object) 方法

定義

代表Visual Basic算術左移(<<)運算子。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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

參數

Operand
Object

Required. 積分數值表達式。 要調整的鑽頭圖案。 資料型態必須是整數型別(SByteByteShortUShortIntegerUIntegerLong或 )。ULong

Amount
Object

Required. 數字表達式。 用來改變位元模式的位元數。 資料型別必須是 Integer 或擴大為 Integer

傳回

一個整數值。 這是因為位移而產生的結果。 資料型別與 相同 Operand

屬性

備註

這門課支援 Visual Basic 編譯器,並非直接從你的程式碼中使用。

適用於

另請參閱