The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.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.v19.2.dll

Declaration

[Browsable(false)]
public bool TryGetObjectHandle(
    object theObject,
    out string handle
)
<Browsable(False)>
Public Function TryGetObjectHandle(
    theObject As Object,
    ByRef handle As String
) As Boolean
[Browsable(false)]
public bool TryGetObjectHandle(
    object theObject,
    out string handle
)
<Browsable(False)>
Public Function TryGetObjectHandle(
    theObject As Object,
    ByRef handle As String
) As Boolean
[Browsable(false)]
public bool TryGetObjectHandle(
    object theObject,
    out string handle
)
<Browsable(False)>
Public Function TryGetObjectHandle(
    theObject As Object,
    ByRef handle As String
) As Boolean

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.

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.

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.

Returns

Type Description
Boolean

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

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