Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

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.v19.2.dll

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