Share via


EnumPropertyConfiguration.IsOptional Method ()

 

Configures the property to be optional.

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

Syntax

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

Return Value

Type: System.Web.OData.Builder.EnumPropertyConfiguration

Returns itself so that multiple calls can be chained.

See Also

EnumPropertyConfiguration Class
System.Web.OData.Builder Namespace

Return to top