MetaTable.GetDisplayString(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應