Synced
IndexedObjectStore<T>.DefineKey
Section titled “IndexedObjectStore<T>.DefineKey”
- Defines a query key over stored items.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Collections
Declaration
Section titled “Declaration”public Inno.Core.Collections.IndexedObjectKey<TKey> Inno.Core.Collections.IndexedObjectStore<T>.DefineKey<TKey>(string name, Inno.Core.Collections.IndexedObjectKeyFlags flags = Inno.Core.Collections.IndexedObjectKeyFlags.Unordered, System.Collections.Generic.IComparer<TKey>? orderComparer = null) where TKey : notnullType parameters
Section titled “Type parameters”Type parameter TKey: Key type.
Parameters
Section titled “Parameters”Parameter name: Unique key name.
Parameter flags: Key behavior flags.
Parameter orderComparer: Optional order comparer. Required when F:Inno.Core.Collections.IndexedObjectKeyFlags.Ordered is set.
Returns
Section titled “Returns”The created key handle.