DataSource for Entity Framework in WPF
C1.LiveLinq.Indexing.Search Namespace / IndexQuery<T> Class / Subindex Method / Subindex(Subindex<T>) Method
Subindex to use for narrowing the search.

In This Topic
    Subindex(Subindex<T>) Method
    In This Topic
    Used to apply subindex search to the result of a search operation.
    Syntax
    'Declaration
     
    Public Overloads Function Subindex( _
       ByVal definition As Subindex(Of T) _
    ) As IIndexScanner(Of T)
    public IIndexScanner<T> Subindex( 
       Subindex<T> definition
    )

    Parameters

    definition
    Subindex to use for narrowing the search.

    Return Value

    An IIndexScanner<T> collection indexed by the subindex that can be used to perform search operations narrowing the collection.
    Remarks
    A subindex can be used to further narrow the result of a search operation, if the corresponding subindex exists in the index or subindex used to perform that search operation. For example, var idxByCity = customers.Indexes(c => c.City); var subindexByContactTitle = idxByCity.Subindexes(c => c.ContactTitle); var ownersInLondon = idxByCity.Find("London").Subindex<string>(subindexByContactTitle).Find("Owner");
    See Also