次の方法で共有


ModelMetadata.Description Property

Gets or sets the description of the model.

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

Syntax

'Declaration
Public Overridable Property Description As String
    Get
    Set
'Usage
Dim instance As ModelMetadata
Dim value As String

value = instance.Description

instance.Description = value
public virtual string Description { get; set; }
public:
virtual property String^ Description {
    String^ get ();
    void set (String^ value);
}
abstract Description : string with get, set
override Description : string with get, set
function get Description () : String
function set Description (value : String)

Property Value

Type: System.String
The description of the model. The default value is null.

See Also

Reference

ModelMetadata Class

System.Web.Http.Metadata Namespace