PrimitivePropertyConfiguration.IsOptional Method ()
Configures the property to be optional.
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public PrimitivePropertyConfiguration IsOptional()
public:
PrimitivePropertyConfiguration^ IsOptional()
member IsOptional : unit -> PrimitivePropertyConfiguration
Public Function IsOptional As PrimitivePropertyConfiguration
Return Value
Type: System.Web.Http.OData.Builder.PrimitivePropertyConfiguration
Returns itself so that multiple calls can be chained.
See Also
PrimitivePropertyConfiguration Class
System.Web.Http.OData.Builder Namespace
Return to top