Skip to main content
.NET 6.0+

XPWeakReference(Session, Object) Constructor

Initializes a new instance of the XPWeakReference class with the specified session and targeted object.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public XPWeakReference(
    Session session,
    object target
)

Parameters

Name Type Description
session Session

A Session object to which the target belongs.

target Object

An object that will be referenced by the newly created XPWeakReference object. This value is used to initialize the XPWeakReference.Target property.

See Also