All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

CompositeObjectSpace.GetObjectByKey(Type, Object) Method

Returns the object whose key property has the specified value.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v20.2.dll

Declaration

public override object GetObjectByKey(
    Type objectType,
    object key
)
Public Overrides Function GetObjectByKey(
    objectType As Type,
    key As Object
) As Object

Parameters

Name Type Description
objectType Type

A type of the object this method returns.

key Object

A value of the returned object's key property.

Returns

Type Description
Object

An object with the specified value of its key property.

See Also