Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
property bool IsOptional {
	virtual bool get();
}

Property Value

Type: System::Boolean

true if the parameter is optional; otherwise, false.

Return to top
Show: