Support.Imp Method

Definition

Performs a logical implication on two expressions.

Overloads

Imp(Object, Object)
Obsolete.

Performs a logical implication on two Object expressions.

Imp(Int64, Int64)
Obsolete.

Performs a logical implication on two Int64 expressions.

Imp(Int32, Int32)
Obsolete.

Performs a logical implication on two Int32 expressions.

Imp(Byte, Byte)
Obsolete.

Performs a logical implication on two Byte expressions.

Imp(Boolean, Boolean)
Obsolete.

Performs a logical implication on two Boolean expressions.

Imp(Int16, Int16)
Obsolete.

Performs a logical implication on two Int16 expressions.

Imp(Object, Object)

Caution

Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862

Performs a logical implication on two Object expressions.

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

Parameters

a
Object

An Object expression.

b
Object

An Object expression.

Returns

An Object that contains the result.

Attributes

Remarks

The Visual Basic 6.0 Imp operator is no longer supported in Visual Basic. This function is used by the upgrade tools to replace the Imp operator during project upgrade. During upgrade, the Variant data type is upgraded to Object.

In Visual Basic, use Not and XOr to replace Imp.

Note

Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic 2008. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

See also

Applies to

Imp(Int64, Int64)

Caution

Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862

Performs a logical implication on two Int64 expressions.

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

Parameters

a
Int64

A Long expression.

b
Int64

A Long expression.

Returns

A Long that contains the result.

Attributes

Remarks

The Visual Basic 6.0 Imp operator is no longer supported in Visual Basic. This function is used by the upgrade tools to replace the Imp operator during project upgrade.

In Visual Basic, use Not and XOr to replace Imp.

Note

Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic 2008. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

See also

Applies to

Imp(Int32, Int32)

Caution

Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862

Performs a logical implication on two Int32 expressions.

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

Parameters

a
Int32

An Integer expression.

b
Int32

An Integer expression.

Returns

An Integer that contains the result.

Attributes

Remarks

The Visual Basic 6.0 Imp operator is no longer supported in Visual Basic. This function is used by the upgrade tools to replace the Imp operator during project upgrade.

In Visual Basic, use Not and XOr to replace Imp.

Note

Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic 2008. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

See also

Applies to

Imp(Byte, Byte)

Caution

Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862

Performs a logical implication on two Byte expressions.

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

Parameters

a
Byte

A Byte expression.

b
Byte

A Byte expression.

Returns

A Byte that contains the result.

Attributes

Remarks

The Visual Basic 6.0 Imp operator is no longer supported in Visual Basic. This function is used by the upgrade tools to replace the Imp operator during project upgrade.

In Visual Basic, use Not and XOr to replace Imp.

Note

Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic 2008. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

See also

Applies to

Imp(Boolean, Boolean)

Caution

Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862

Performs a logical implication on two Boolean expressions.

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

Parameters

a
Boolean

A Boolean expression.

b
Boolean

A Boolean expression.

Returns

A Boolean that contains the result.

Attributes

Remarks

The Visual Basic 6.0 Imp operator is no longer supported in Visual Basic. This function is used by the upgrade tools to replace the Imp operator during project upgrade.

In Visual Basic, use Not and XOr instead of Imp.

Note

Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic 2008. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

See also

Applies to

Imp(Int16, Int16)

Caution

Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862

Performs a logical implication on two Int16 expressions.

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

Parameters

a
Int16

A Short expression.

b
Int16

A Short expression.

Returns

A Short that contains the result.

Attributes

Remarks

The Visual Basic 6.0 Imp operator is no longer supported in Visual Basic. This function is used by the upgrade tools to replace the Imp operator during project upgrade.

In Visual Basic, use Not and XOr to replace Imp.

Note

Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic 2008. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

See also

Applies to