次の方法で共有


Position.Inequality(Position, Position) Operator

Definition

Overrides the default not equals operator.

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 op_Inequality : 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 first and second positions are not equivalent.

Applies to