Support.Imp 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
对两个表达式执行逻辑影响。
重载
| 名称 | 说明 |
|---|---|
| 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不再支持 Visual Basic 6.0 Imp 运算符。 升级工具使用此函数在项目升级期间替换 Imp 操作员。 在升级期间,Variant 数据类型将升级到 Object。
在Visual Basic中,使用 Not 和 XOr 替换 Imp。
注释
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 表达式。
返回
包含结果的 A Long 。
- 属性
注解
Visual Basic不再支持 Visual Basic 6.0 Imp 运算符。 升级工具使用此函数在项目升级期间替换 Imp 操作员。
在Visual Basic中,使用 Not 和 XOr 替换 Imp。
注释
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不再支持 Visual Basic 6.0 Imp 运算符。 升级工具使用此函数在项目升级期间替换 Imp 操作员。
在Visual Basic中,使用 Not 和 XOr 替换 Imp。
注释
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
参数
返回
包含结果的 A Byte 。
- 属性
注解
Visual Basic不再支持 Visual Basic 6.0 Imp 运算符。 升级工具使用此函数在项目升级期间替换 Imp 操作员。
在Visual Basic中,使用 Not 和 XOr 替换 Imp。
注释
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
参数
返回
包含结果的 A Boolean 。
- 属性
注解
Visual Basic不再支持 Visual Basic 6.0 Imp 运算符。 升级工具使用此函数在项目升级期间替换 Imp 操作员。
在Visual Basic中,使用 Not 和 XOr,而不是 Imp。
注释
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 表达式。
返回
包含结果的 A Short 。
- 属性
注解
Visual Basic不再支持 Visual Basic 6.0 Imp 运算符。 升级工具使用此函数在项目升级期间替换 Imp 操作员。
在Visual Basic中,使用 Not 和 XOr 替换 Imp。
注释
Microsoft.VisualBasic.Compatibility.VB6 命名空间中的函数和对象由用于从 Visual Basic 6.0 升级到 Visual Basic 2008 的工具使用。 在大多数情况下,这些函数和对象重复了可在 .NET Framework 中的其他命名空间中找到的功能。 仅当 Visual Basic 6.0 代码模型与 .NET Framework 实现明显不同时,它们才是必需的。