DataAnnotationsModelMetadata.GetSimpleDisplayText 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 text to display for the model when the model represents a complex object.
protected:
override System::String ^ GetSimpleDisplayText();
protected override string GetSimpleDisplayText ();
override this.GetSimpleDisplayText : unit -> string
Protected Overrides Function GetSimpleDisplayText () As String
Returns
The text to display for a complex object. If there is a DisplayColumnAttribute attribute for the model, the default is the name of the display column. Otherwise the default is determined by calling the GetSimpleDisplayText() method of the ModelMetadata base class.
Applies to
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.