Share via


NavigationPropertyConfiguration.Required Method

Marks the navigation property as required.

Namespace:  System.Web.Http.OData.Builder
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

'Declaration
Public Function Required As NavigationPropertyConfiguration
'Usage
Dim instance As NavigationPropertyConfiguration 
Dim returnValue As NavigationPropertyConfiguration 

returnValue = instance.Required()
public NavigationPropertyConfiguration Required()
public:
NavigationPropertyConfiguration^ Required()
member Required : unit -> NavigationPropertyConfiguration
public function Required() : NavigationPropertyConfiguration

Return Value

Type: System.Web.Http.OData.Builder.NavigationPropertyConfiguration

See Also

Reference

NavigationPropertyConfiguration Class

System.Web.Http.OData.Builder Namespace