Support.Imp 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
對兩個表達式執行邏輯蘊涵。
多載
| 名稱 | Description |
|---|---|
| Imp(Object, Object) |
已淘汰.
對兩個 Object 表達式執行邏輯蘊涵。 |
| Imp(Int64, Int64) |
已淘汰.
對兩個 Int64 表達式執行邏輯蘊涵。 |
| Imp(Int32, Int32) |
已淘汰.
對兩個 Int32 表達式執行邏輯蘊涵。 |
| Imp(Byte, Byte) |
已淘汰.
對兩個 Byte 表達式執行邏輯蘊涵。 |
| Imp(Boolean, Boolean) |
已淘汰.
對兩個 Boolean 表達式執行邏輯蘊涵。 |
| Imp(Int16, Int16) |
已淘汰.
對兩個 Int16 表達式執行邏輯蘊涵。 |
Imp(Object, Object)
警告
Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862
對兩個 Object 表達式執行邏輯蘊涵。
public:
static System::Object ^ Imp(System::Object ^ a, System::Object ^ b);
public static object Imp(object a, object b);
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public static object Imp(object a, object b);
static member Imp : obj * obj -> obj
[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
static member Imp : obj * obj -> obj
Public Function Imp (a As Object, b As Object) As Object
參數
傳回
一個 Object 包含結果的 。
- 屬性
備註
Visual Basic 6.0 Imp 運算子已不再支援 Visual Basic。 升級工具會利用此功能在專案升級時替換操作員 Imp 。 升級時,變體資料類型會升級為 Object。
在Visual Basic中,使用 Not 和 XOr 來取代 Imp。
Note
Microsoft.VisualBasic.Compatibility.VB6 命名空間中的函式與物件,供工具從 Visual Basic 6.0 升級至 Visual Basic 2008 使用。 大多數情況下,這些函式和物件會重複你在 .NET Framework 中其他命名空間中能找到的功能。 只有當 Visual Basic 6.0 的程式碼模型與 .NET Framework 實作有顯著差異時,才需要使用這些工具。
另請參閱
適用於
Imp(Int64, Int64)
警告
Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862
對兩個 Int64 表達式執行邏輯蘊涵。
public:
static long Imp(long a, long b);
public static long Imp(long a, long b);
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public static long Imp(long a, long b);
static member Imp : int64 * int64 -> int64
[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
static member Imp : int64 * int64 -> int64
Public Function Imp (a As Long, b As Long) As Long
參數
- a
- Int64
Long 表示式。
- b
- Int64
Long 表示式。
傳回
Long A 包含結果。
- 屬性
備註
Visual Basic 6.0 Imp 運算子已不再支援 Visual Basic。 升級工具會利用此功能在專案升級時替換操作員 Imp 。
在Visual Basic中,使用 Not 和 XOr 來取代 Imp。
Note
Microsoft.VisualBasic.Compatibility.VB6 命名空間中的函式與物件,供工具從 Visual Basic 6.0 升級至 Visual Basic 2008 使用。 大多數情況下,這些函式和物件會重複你在 .NET Framework 中其他命名空間中能找到的功能。 只有當 Visual Basic 6.0 的程式碼模型與 .NET Framework 實作有顯著差異時,才需要使用這些工具。
另請參閱
適用於
Imp(Int32, Int32)
警告
Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862
對兩個 Int32 表達式執行邏輯蘊涵。
public:
static int Imp(int a, int b);
public static int Imp(int a, int b);
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public static int Imp(int a, int b);
static member Imp : int * int -> int
[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
static member Imp : int * int -> int
Public Function Imp (a As Integer, b As Integer) As Integer
參數
- a
- Int32
一種 Integer 表情。
- b
- Int32
一種 Integer 表情。
傳回
一個 Integer 包含結果的 。
- 屬性
備註
Visual Basic 6.0 Imp 運算子已不再支援 Visual Basic。 升級工具會利用此功能在專案升級時替換操作員 Imp 。
在Visual Basic中,使用 Not 和 XOr 來取代 Imp。
Note
Microsoft.VisualBasic.Compatibility.VB6 命名空間中的函式與物件,供工具從 Visual Basic 6.0 升級至 Visual Basic 2008 使用。 大多數情況下,這些函式和物件會重複你在 .NET Framework 中其他命名空間中能找到的功能。 只有當 Visual Basic 6.0 的程式碼模型與 .NET Framework 實作有顯著差異時,才需要使用這些工具。
另請參閱
適用於
Imp(Byte, Byte)
警告
Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862
對兩個 Byte 表達式執行邏輯蘊涵。
public:
static System::Byte Imp(System::Byte a, System::Byte b);
public static byte Imp(byte a, byte b);
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public static byte Imp(byte a, byte b);
static member Imp : byte * byte -> byte
[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
static member Imp : byte * byte -> byte
Public Function Imp (a As Byte, b As Byte) As Byte
參數
傳回
Byte A 包含結果。
- 屬性
備註
Visual Basic 6.0 Imp 運算子已不再支援 Visual Basic。 升級工具會利用此功能在專案升級時替換操作員 Imp 。
在Visual Basic中,使用 Not 和 XOr 來取代 Imp。
Note
Microsoft.VisualBasic.Compatibility.VB6 命名空間中的函式與物件,供工具從 Visual Basic 6.0 升級至 Visual Basic 2008 使用。 大多數情況下,這些函式和物件會重複你在 .NET Framework 中其他命名空間中能找到的功能。 只有當 Visual Basic 6.0 的程式碼模型與 .NET Framework 實作有顯著差異時,才需要使用這些工具。
另請參閱
適用於
Imp(Boolean, Boolean)
警告
Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862
對兩個 Boolean 表達式執行邏輯蘊涵。
public:
static bool Imp(bool a, bool b);
public static bool Imp(bool a, bool b);
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public static bool Imp(bool a, bool b);
static member Imp : bool * bool -> bool
[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
static member Imp : bool * bool -> bool
Public Function Imp (a As Boolean, b As Boolean) As Boolean
參數
傳回
Boolean A 包含結果。
- 屬性
備註
Visual Basic 6.0 Imp 運算子已不再支援 Visual Basic。 升級工具會利用此功能在專案升級時替換操作員 Imp 。
在Visual Basic中,使用 Not 和 XOr 代替 Imp。
Note
Microsoft.VisualBasic.Compatibility.VB6 命名空間中的函式與物件,供工具從 Visual Basic 6.0 升級至 Visual Basic 2008 使用。 大多數情況下,這些函式和物件會重複你在 .NET Framework 中其他命名空間中能找到的功能。 只有當 Visual Basic 6.0 的程式碼模型與 .NET Framework 實作有顯著差異時,才需要使用這些工具。
另請參閱
適用於
Imp(Int16, Int16)
警告
Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862
對兩個 Int16 表達式執行邏輯蘊涵。
public:
static short Imp(short a, short b);
public static short Imp(short a, short b);
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public static short Imp(short a, short b);
static member Imp : int16 * int16 -> int16
[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
static member Imp : int16 * int16 -> int16
Public Function Imp (a As Short, b As Short) As Short
參數
- a
- Int16
Short 表示式。
- b
- Int16
Short 表示式。
傳回
Short A 包含結果。
- 屬性
備註
Visual Basic 6.0 Imp 運算子已不再支援 Visual Basic。 升級工具會利用此功能在專案升級時替換操作員 Imp 。
在Visual Basic中,使用 Not 和 XOr 來取代 Imp。
Note
Microsoft.VisualBasic.Compatibility.VB6 命名空間中的函式與物件,供工具從 Visual Basic 6.0 升級至 Visual Basic 2008 使用。 大多數情況下,這些函式和物件會重複你在 .NET Framework 中其他命名空間中能找到的功能。 只有當 Visual Basic 6.0 的程式碼模型與 .NET Framework 實作有顯著差異時,才需要使用這些工具。