Create an iterator over the space using the specified template(s) and settings.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
ISpaceIterator<T> GetSpaceIterator<T>( IQuery<T> query )
Function GetSpaceIterator(Of T) ( _ query As IQuery(Of T) _ ) As ISpaceIterator(Of T)
generic<typename T> ISpaceIterator<T>^ GetSpaceIterator( IQuery<T>^ query )
Generic Template Parameters
- T
- Type of object to read.
Parameters
- query (IQuery<(Of <(<'T>)>)>)
- The query used for matching.
Return Value
A configured space iterator.
Exceptions
Exception | Condition |
---|---|
InactiveSpaceException | The space is in backup mode and therefore is not active. |