Operators Class

Definition

Provides late-bound math operators, such as AddObject(Object, Object) and CompareObject(Object, Object, Boolean), which the Visual Basic compiler uses internally.

This API supports the product infrastructure and is not intended to be used directly from your code.

public ref class Operators sealed
public sealed class Operators
type Operators = class
Public NotInheritable Class Operators
Inheritance
Operators

Remarks

This class supports the Visual Basic compiler and is not intended to be used directly from your code.

Methods

AddObject(Object, Object)

Represents the Visual Basic addition (+) operator.

AndObject(Object, Object)

Represents the Visual Basic And operator.

CompareObject(Object, Object, Boolean)

Represents Visual Basic comparison operators.

CompareObjectEqual(Object, Object, Boolean)

Represents the Visual Basic equal (=) operator.

CompareObjectGreater(Object, Object, Boolean)

Represents the Visual Basic greater-than (>) operator.

CompareObjectGreaterEqual(Object, Object, Boolean)

Represents the Visual Basic greater-than or equal-to (>=) operator.

CompareObjectLess(Object, Object, Boolean)

Represents the Visual Basic less-than (<) operator.

CompareObjectLessEqual(Object, Object, Boolean)

Represents the Visual Basic less-than or equal-to (<=) operator.

CompareObjectNotEqual(Object, Object, Boolean)

Represents the Visual Basic not-equal (<>) operator.

CompareString(String, String, Boolean)

Performs binary or text string comparison when given two strings.

ConcatenateObject(Object, Object)

Represents the Visual Basic concatenation (&) operator.

ConditionalCompareObjectEqual(Object, Object, Boolean)

Represents the overloaded Visual Basic equals (=) operator.

ConditionalCompareObjectGreater(Object, Object, Boolean)

Represents the overloaded Visual Basic greater-than (>) operator.

ConditionalCompareObjectGreaterEqual(Object, Object, Boolean)

Represents the overloaded Visual Basic greater-than or equal-to (>=) operator.

ConditionalCompareObjectLess(Object, Object, Boolean)

Represents the overloaded Visual Basic less-than (<) operator.

ConditionalCompareObjectLessEqual(Object, Object, Boolean)

Represents the overloaded Visual Basic less-than or equal-to (<=) operator.

ConditionalCompareObjectNotEqual(Object, Object, Boolean)

Represents the overloaded Visual Basic not-equal (<>) operator.

DivideObject(Object, Object)

Represents the Visual Basic division (/) operator.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
ExponentObject(Object, Object)

Represents the Visual Basic exponent (^) operator.

FallbackInvokeUserDefinedOperator(Object, Object[])

Executes a late-bound evaluation of a user-defined operator. This helper method is not meant to be called directly from your code.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
IntDivideObject(Object, Object)

Represents the Visual Basic integer division (\) operator.

LeftShiftObject(Object, Object)

Represents the Visual Basic arithmetic left shift (<<) operator.

LikeObject(Object, Object, CompareMethod)

Represents the Visual Basic Like operator.

LikeString(String, String, CompareMethod)

Represents the Visual Basic Like operator.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ModObject(Object, Object)

Represents the Visual Basic Mod operator.

MultiplyObject(Object, Object)

Represents the Visual Basic multiply (*) operator.

NegateObject(Object)

Represents the Visual Basic unary minus (-) operator.

NotObject(Object)

Represents the Visual Basic Not operator.

OrObject(Object, Object)

Represents the Visual Basic Or operator.

PlusObject(Object)

Represents the Visual Basic unary plus (+) operator.

RightShiftObject(Object, Object)

Represents the Visual Basic arithmetic right shift (>>) operator.

SubtractObject(Object, Object)

Represents the Visual Basic subtraction (-) operator.

ToString()

Returns a string that represents the current object.

(Inherited from Object)
XorObject(Object, Object)

Represents the Visual Basic Xor operator.

Applies to

See also