Skip to main content
.NET Framework 4.6.2+

XPCollection.Object[Int32] Property

Gets the object at the specified index.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.2.dll

Declaration

[Browsable(false)]
public object this[int index] { get; }

Parameters

Name Type Description
index Int32

The zero-based index of the object to get.

Property Value

Type Description
Object

An object at the specified index in XPCollection.

Remarks

This property provides the ability to access a specific object in the XPCollection by index. Use the following syntax: myCollection[index].

If the XPBaseCollection.LoadingEnabled property is set to true (by default) the collection will be automatically populated with data (if it’s still not populated) when its contents are accessed for the first time.

See Also