Share via


IPrincipalKeyValueFactory<TKey>.CreateFromKeyValues Method

Definition

Overloads

CreateFromKeyValues(IReadOnlyList<Object>)

Creates a key object from key values obtained in-order from the given enumerable.

CreateFromKeyValues(Object[])

Creates a key object from key values obtained in-order from the given array.

CreateFromKeyValues(IReadOnlyList<Object>)

Creates a key object from key values obtained in-order from the given enumerable.

public object? CreateFromKeyValues (System.Collections.Generic.IReadOnlyList<object?> keyValues);
abstract member CreateFromKeyValues : System.Collections.Generic.IReadOnlyList<obj> -> obj
Public Function CreateFromKeyValues (keyValues As IReadOnlyList(Of Object)) As Object

Parameters

keyValues
IReadOnlyList<Object>

The key values.

Returns

The key object, or null if any of the key values were null.

Applies to

CreateFromKeyValues(Object[])

Creates a key object from key values obtained in-order from the given array.

public object CreateFromKeyValues (object[] keyValues);
public object? CreateFromKeyValues (object?[] keyValues);
abstract member CreateFromKeyValues : obj[] -> obj
Public Function CreateFromKeyValues (keyValues As Object()) As Object

Parameters

keyValues
Object[]

The key values.

Returns

The key object, or null if any of the key values were null.

Applies to