CollectionPropertyConfiguration.IsRequired Method
Sets the CollectionProperty to required (i.e. non-nullable).
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Public Function IsRequired As CollectionPropertyConfiguration
'Usage
Dim instance As CollectionPropertyConfiguration
Dim returnValue As CollectionPropertyConfiguration
returnValue = instance.IsRequired()
public CollectionPropertyConfiguration IsRequired()
public:
CollectionPropertyConfiguration^ IsRequired()
member IsRequired : unit -> CollectionPropertyConfiguration
public function IsRequired() : CollectionPropertyConfiguration
Return Value
Type: System.Web.Http.OData.Builder.CollectionPropertyConfiguration
The CollectionPropertyConfiguration object.