ModelMetadata.GetDisplayName Method

Gets the display name for the model.

Namespace:  System.Web.Http.Metadata
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Function GetDisplayName As String
'Usage
Dim instance As ModelMetadata
Dim returnValue As String

returnValue = instance.GetDisplayName()
public string GetDisplayName()
public:
String^ GetDisplayName()
member GetDisplayName : unit -> string 
public function GetDisplayName() : String

Return Value

Type: System.String
The display name for the model.

See Also

Reference

ModelMetadata Class

System.Web.Http.Metadata Namespace