Export (0) Print
Expand All

HttpParameterDescriptor.IsOptional Property

Gets a value that indicates whether the parameter is optional.

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

public virtual bool IsOptional { get; }

Property Value

Type: System.Boolean
true if the parameter is optional; otherwise, false.
Show:
© 2014 Microsoft