IAlternateEqualityComparer<TAlternate,T>.Create(TAlternate) Method
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.
Creates a T
that is considered by Equals(TAlternate, T) to be equal to the specified alternate
.
public T Create(TAlternate alternate);
abstract member Create : 'Alternate -> 'T
Public Function Create (alternate As TAlternate) As T
Parameters
- alternate
- TAlternate
The instance of type TAlternate
for which an equal T
is required.
Returns
T
A T
considered equal to the specified alternate
.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.