Properties.KeyEqualityComparer<TKey,TPayload> 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.
Sets the KeyEqualityComparer property associated with the stream. This comparer is an efficient comparer optimized for this data instance, and does not apply to other streams with the same schema. For a schema-level equality comparer, implement the interface IEqualityComparerExpression.
public static Microsoft.StreamProcessing.IStreamable<TKey,TPayload> KeyEqualityComparer<TKey,TPayload> (this Microsoft.StreamProcessing.IPropertySetter<TKey,TPayload> source, Microsoft.StreamProcessing.IEqualityComparerExpression<TKey> keyEqualityComparer);
static member KeyEqualityComparer : Microsoft.StreamProcessing.IPropertySetter<'Key, 'Payload> * Microsoft.StreamProcessing.IEqualityComparerExpression<'Key> -> Microsoft.StreamProcessing.IStreamable<'Key, 'Payload>
<Extension()>
Public Function KeyEqualityComparer(Of TKey, TPayload) (source As IPropertySetter(Of TKey, TPayload), keyEqualityComparer As IEqualityComparerExpression(Of TKey)) As IStreamable(Of TKey, TPayload)
Type Parameters
- TKey
- TPayload
Parameters
- source
- Microsoft.StreamProcessing.IPropertySetter<TKey,TPayload>
- keyEqualityComparer
- IEqualityComparerExpression<TKey>