IEqualityOperators<TSelf,TOther,TResult> Interface
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.
Defines a mechanism for comparing two values to determine equality.
generic <typename TSelf, typename TOther, typename TResult>
where TSelf : IEqualityOperators<TSelf, TOther, TResult>public interface class IEqualityOperators
public interface IEqualityOperators<TSelf,TOther,TResult> where TSelf : IEqualityOperators<TSelf,TOther,TResult>
type IEqualityOperators<'Self, 'Other, 'Result (requires 'Self :> IEqualityOperators<'Self, 'Other, 'Result>)> = interface
Public Interface IEqualityOperators(Of TSelf, TOther, TResult)
Type Parameters
- TSelf
The type that implements this interface.
- TOther
The type that will be compared with TSelf
.
- TResult
The type that is returned as a result of the comparison.
- Derived
Operators
Equality(TSelf, TOther) |
Compares two values to determine equality. |
Inequality(TSelf, TOther) |
Compares two values to determine inequality. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應