XPCollection.Lookup(Object) Method
In This Article
Retrieves an object from the collection by object ID.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.2.dll
NuGet Package: DevExpress.Xpo
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
key | Object | ID of an object to retrieve from the collection. |
#Returns
Type | Description |
---|---|
Object | An object found or null reference (Nothing in Visual |
#Remarks
If the XPBaseCollection.LoadingEnabled property is set to true (default value) the collection will be automatically populated with data (if it’s still not populated) when its contents are accessed for the first time.
Note
The Lookup and Session.
See Also