Returns an IList object containing all of this collection's objects. This function is useful when loading a set of objects for a subset or for use with the IEnumerable interface.

Namespace: DatabaseObjects
Assembly: DatabaseObjects (in DatabaseObjects.dll) Version: 3.8.1.0

Syntax

C#
protected IList ObjectsList()
Visual Basic
Protected Function ObjectsList As IList
Visual C++
protected:
IList^ ObjectsList()

Return Value

IList (System.Collections.IList)

Examples

CopyC#
'Alternatively, the DatabaseObjectsEnumerable class can be used which 
'automatically incorporates an enumerator
Private Function GetEnumerator() As System.Collections.IEnumerator Implements System.Collections.IEnumerable.GetEnumerator

    Return MyBase.ObjectsList.GetEnumerator

End Function

See Also