Share via


PrimitivePropertyConfiguration.IsRequired Method ()

 

Configures the property to be required.

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

Syntax

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