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 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈