Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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:
property bool IsOptional {
	virtual bool get();
}

Property Value

Type: System::Boolean

true if the parameter is optional; otherwise, false.

Return to top
Show:
© 2015 Microsoft