NavigationPropertyConfiguration.Optional Method
Marks the navigation property as optional.
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Public Function Optional As NavigationPropertyConfiguration
'Usage
Dim instance As NavigationPropertyConfiguration
Dim returnValue As NavigationPropertyConfiguration
returnValue = instance.Optional()
public NavigationPropertyConfiguration Optional()
public:
NavigationPropertyConfiguration^ Optional()
member Optional : unit -> NavigationPropertyConfiguration
public function Optional() : NavigationPropertyConfiguration
Return Value
Type: System.Web.Http.OData.Builder.NavigationPropertyConfiguration