Share via


PrimitivePropertyConfiguration.IsOptional Method ()

 

Configures the property to be optional.

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

Syntax

public PrimitivePropertyConfiguration IsOptional()
public:
PrimitivePropertyConfiguration^ IsOptional()
member IsOptional : unit -> PrimitivePropertyConfiguration
Public Function IsOptional As PrimitivePropertyConfiguration

Return Value

Type: System.Web.OData.Builder.PrimitivePropertyConfiguration

Returns itself so that multiple calls can be chained.

See Also

PrimitivePropertyConfiguration Class
System.Web.OData.Builder Namespace

Return to top