Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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