Partager via


IValueType<TValue>.GetCustomizedEqualityComparer Method

Definition

Get a customized equality comparer.

public System.Collections.Generic.IEqualityComparer<TValue>? GetCustomizedEqualityComparer (Microsoft.VisualStudio.ProjectSystem.Query.ValueTypes.IValueTypeMetadata? typeMetadata = default);
abstract member GetCustomizedEqualityComparer : Microsoft.VisualStudio.ProjectSystem.Query.ValueTypes.IValueTypeMetadata -> System.Collections.Generic.IEqualityComparer<'Value>
Public Function GetCustomizedEqualityComparer (Optional typeMetadata As IValueTypeMetadata = Nothing) As IEqualityComparer(Of TValue)

Parameters

typeMetadata
IValueTypeMetadata

Additional metadata if it is defined for a model property.

Returns

A component defines methods to support the comparison of objects for equality or null.

Applies to