Bewerken

Delen via


MetaTable.GetDisplayString(Object) Method

Definition

Returns the value to use as the display string for an instance of a row when the row is used in foreign-key relationships.

public:
 System::String ^ GetDisplayString(System::Object ^ row);
public:
 virtual System::String ^ GetDisplayString(System::Object ^ row);
public string GetDisplayString (object row);
public virtual string GetDisplayString (object row);
member this.GetDisplayString : obj -> string
abstract member GetDisplayString : obj -> string
override this.GetDisplayString : obj -> string
Public Function GetDisplayString (row As Object) As String
Public Overridable Function GetDisplayString (row As Object) As String

Parameters

row
Object

The row to get the display string for.

Returns

The display name for an instance of a row.

Remarks

If the row is null, an empty string is returned. If the entity class includes an override of the ToString method, the overridden ToString value is returned. Otherwise, the method returns the ToString representation of the value of the DisplayColumn property for the specified row.

Applies to