Share via


EnumPropertyConfiguration.IsRequired Method ()

 

Configures the property to be required.

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

Syntax

public EnumPropertyConfiguration IsRequired()
public:
EnumPropertyConfiguration^ IsRequired()
member IsRequired : unit -> EnumPropertyConfiguration
Public Function IsRequired 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