.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.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.v20.2.dll


public bool TryGetObjectHandle(
    object theObject,
    out string handle
Public Function TryGetObjectHandle(
    theObject As Object,
    ByRef handle As String
) As Boolean


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.


Type Description

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


This method is intended for internal use.

See Also