Share via


CollectionPropertyConfiguration.IsRequired Method ()

 

Sets the CollectionProperty to required (i.e. non-nullable).

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

Syntax

public CollectionPropertyConfiguration IsRequired()
public:
CollectionPropertyConfiguration^ IsRequired()
member IsRequired : unit -> CollectionPropertyConfiguration
Public Function IsRequired As CollectionPropertyConfiguration

Return Value

Type: System.Web.OData.Builder.CollectionPropertyConfiguration

See Also

CollectionPropertyConfiguration Class
System.Web.OData.Builder Namespace

Return to top