Operators Class
Microsoft Silverlight will reach end of support after October 2021. Learn more.
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Provides late-bound math operators, such as AddObject and CompareObject, which the Visual Basic compiler uses internally.
Inheritance Hierarchy
System.Object
Microsoft.VisualBasic.CompilerServices.Operators
Namespace: Microsoft.VisualBasic.CompilerServices
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
Syntax
'Declaration
Public NotInheritable Class Operators
public sealed class Operators
The Operators type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddObject | Infrastructure. Represents the Visual Basic addition (+) operator. | |
AndObject | Infrastructure. Represents the Visual Basic And operator. | |
CompareObject | Infrastructure. Represents Visual Basic comparison operators. | |
CompareObjectEqual | Infrastructure. Represents the Visual Basic equal (=) operator. | |
CompareObjectGreater | Infrastructure. Represents the Visual Basic greater-than (>) operator. | |
CompareObjectGreaterEqual | Infrastructure. Represents the Visual Basic greater-than or equal-to (>=) operator. | |
CompareObjectLess | Infrastructure. Represents the Visual Basic less-than (<) operator. | |
CompareObjectLessEqual | Infrastructure. Represents the Visual Basic less-than or equal-to (<=) operator. | |
CompareObjectNotEqual | Infrastructure. Represents the Visual Basic not-equal (<>) operator. | |
CompareString | Infrastructure. Performs binary or text string comparison when given two strings. | |
ConcatenateObject | Infrastructure. Represents the Visual Basic concatenation (&) operator. | |
ConditionalCompareObjectEqual | Infrastructure. Represents the overloaded Visual Basic equals (=) operator. | |
ConditionalCompareObjectGreater | Infrastructure. Represents the overloaded Visual Basic greater-than (>) operator. | |
ConditionalCompareObjectGreaterEqual | Infrastructure. Represents the overloaded Visual Basic greater-than or equal-to (>=) operator. | |
ConditionalCompareObjectLess | Infrastructure. Represents the overloaded Visual Basic less-than (<) operator. | |
ConditionalCompareObjectLessEqual | Infrastructure. Represents the overloaded Visual Basic less-than or equal-to (<=) operator. | |
ConditionalCompareObjectNotEqual | Infrastructure. Represents the overloaded Visual Basic not-equal (<>) operator. | |
DivideObject | Infrastructure. Represents the Visual Basic division (/) operator. | |
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
ExponentObject | Infrastructure. Represents the Visual Basic exponent (^) operator. | |
FallbackInvokeUserDefinedOperator | Obsolete. Executes a late-bound evaluation of a user-defined operator. This helper method is not meant to be called directly from your code. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IntDivideObject | Infrastructure. Represents the Visual Basic integer division (\) operator. | |
LeftShiftObject | Infrastructure. Represents the Visual Basic arithmetic left shift (<<) operator. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ModObject | Infrastructure. Represents the Visual Basic Mod operator. | |
MultiplyObject | Infrastructure. Represents the Visual Basic multiply (*) operator. | |
NegateObject | Infrastructure. Represents the Visual Basic unary minus (–) operator. | |
NotObject | Infrastructure. Represents the Visual Basic Not operator. | |
OrObject | Infrastructure. Represents the Visual Basic Or operator. | |
PlusObject | Infrastructure. Represents the Visual Basic unary plus (+) operator. | |
RightShiftObject | Infrastructure. Represents the Visual Basic arithmetic right shift (>>) operator. | |
SubtractObject | Infrastructure. Represents the Visual Basic subtraction (–) operator. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
XorObject | Infrastructure. Represents the Visual Basic Xor operator. |
Top
Remarks
This class supports the Visual Basic compiler and is not intended to be used directly from your code.
Version Information
Silverlight
Supported in: 5, 4, 3
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.