Share via


EnumPropertyConfiguration.IsOptional Method

Definition

Configures the property to be optional.

public Microsoft.AspNet.OData.Builder.EnumPropertyConfiguration IsOptional ();
member this.IsOptional : unit -> Microsoft.AspNet.OData.Builder.EnumPropertyConfiguration
Public Function IsOptional () As EnumPropertyConfiguration

Returns

Returns itself so that multiple calls can be chained.

Applies to