.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

XPCursor(Session, Type, IList) Constructor

Initializes a new instance of the XPCursor class and populates it with the objects whose Oid property's value is contained within the keyList.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

public XPCursor(
    Session session,
    Type objType,
    IList keysList
)
Public Sub New(
    session As Session,
    objType As Type,
    keysList As IList
)
public XPCursor(
    Session session,
    Type objType,
    IList keysList
)
Public Sub New(
    session As Session,
    objType As Type,
    keysList As IList
)

Parameters

Name Type Description
session Session

A Session object which represents the session that will be used to load and save persistent objects. This value is assigned to the XPCursor.Session property.

objType Type

The type of persistent objects to include in the collection.

keysList IList

The list of keys that identify persistent objects to retrieve.

Parameters

Name Type Description
session Session

A Session object which represents the session that will be used to load and save persistent objects. This value is assigned to the XPCursor.Session property.

objType Type

The type of persistent objects to include in the collection.

keysList IList

The list of keys that identify persistent objects to retrieve.

See Also