Skip to main content
.NET 6.0+

BaseObjectSpace.GetKeyValueAsString(Object) Method

Returns the key property’s value of the specified object, converted to a string representation.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v23.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public virtual string GetKeyValueAsString(
    object obj
)

Parameters

Name Type Description
obj Object

An object whose key property’s value is returned.

Returns

Type Description
String

A string which is the value of the specified object’s key property.

Remarks

This method does nothing and returns null (Nothing in VB). So, it should be overridden in the BaseObjectSpace class’ descendants.

See Also