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

Declaration

public virtual string GetKeyValueAsString(
    object obj
)
Public Overridable Function GetKeyValueAsString(
    obj As Object
) As String

Parameters

Type Name Description
Object obj

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.

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

See Also