Returns an IList object containing all of the collection's associated child
objects. This function is useful when loading a set of objects for a subset or
for use with the IEnumerable interface.
Namespace: DatabaseObjectsAssembly: DatabaseObjects (in DatabaseObjects.dll) Version: 3.8.1.0
Syntax
C# |
---|
public IList ObjectsList( IDatabaseObjects objCollection ) |
Visual Basic |
---|
Public Function ObjectsList ( _ objCollection As IDatabaseObjects _ ) As IList |
Visual C++ |
---|
public: IList^ ObjectsList( IDatabaseObjects^ objCollection ) |
Parameters
- objCollection
- Type: DatabaseObjects..::..IDatabaseObjects
The collection which contains the objects to load.
Return Value
IList (System.Collections.IList)Examples
CopyC#
'Can be used to provide an enumerator for use with the "For Each" clause Private Function GetEnumerator() As System.Collections.IEnumerator Implements System.Collections.IEnumerable.GetEnumerator Return objDatabase.ObjectsList(objGlobalProductsInstance).GetEnumerator End Function