IValueType<TValue>.GetCustomizedEqualityComparer 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.
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
IEqualityComparer<TValue>
A component defines methods to support the comparison of objects for equality or null
.