Skip to main content
.NET 6.0+

XPObjectSpace.TryGetObjectHandle(Object, out String) Method

Creates a handle for the specified object if this object is persistent and is not a new one.

Namespace: DevExpress.ExpressApp.Xpo

Assembly: DevExpress.ExpressApp.Xpo.v24.1.dll

NuGet Package: DevExpress.ExpressApp.Xpo

Declaration

[Browsable(false)]
public bool TryGetObjectHandle(
    object theObject,
    out string handle
)

Parameters

Name Type Description
theObject Object

An object for which a handle is created.

handle String

A string that is the handle created for the specified object.

Returns

Type Description
Boolean

true if a handle has been created successfully for the specified object; otherwise false.

Remarks

This method is intended for internal use.

See Also