Position.Equality(Position, Position) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overrides default equals operator. Two positions are equal if they are both null or one of them is the object equivalent of the other.
public:
static bool operator ==(Microsoft::VisualStudio::LanguageServer::Protocol::Position ^ firstPosition, Microsoft::VisualStudio::LanguageServer::Protocol::Position ^ secondPosition);
public static bool operator == (Microsoft.VisualStudio.LanguageServer.Protocol.Position firstPosition, Microsoft.VisualStudio.LanguageServer.Protocol.Position secondPosition);
public static bool operator == (Microsoft.VisualStudio.LanguageServer.Protocol.Position? firstPosition, Microsoft.VisualStudio.LanguageServer.Protocol.Position? secondPosition);
static member ( = ) : Microsoft.VisualStudio.LanguageServer.Protocol.Position * Microsoft.VisualStudio.LanguageServer.Protocol.Position -> bool
Public Shared Operator == (firstPosition As Position, secondPosition As Position) As Boolean
Parameters
- firstPosition
- Position
The first position to compare.
- secondPosition
- Position
The second position to compare.
Returns
True if both positions are null or one of them is the object equivalent of the other, false otherwise.