Share via


StructuralTypeConfiguration.AddCollectionProperty Method (PropertyInfo)

 

Adds a collection property to this edm type.

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

Syntax

public virtual CollectionPropertyConfiguration AddCollectionProperty(
    PropertyInfo propertyInfo
)
public:
virtual CollectionPropertyConfiguration^ AddCollectionProperty(
    PropertyInfo^ propertyInfo
)
abstract AddCollectionProperty : 
        propertyInfo:PropertyInfo -> CollectionPropertyConfiguration
override AddCollectionProperty : 
        propertyInfo:PropertyInfo -> CollectionPropertyConfiguration
Public Overridable Function AddCollectionProperty (
    propertyInfo As PropertyInfo
) As CollectionPropertyConfiguration

Parameters

Return Value

Type: System.Web.Http.OData.Builder.CollectionPropertyConfiguration

The CollectionPropertyConfiguration so that the property can be configured further.

See Also

StructuralTypeConfiguration Class
System.Web.Http.OData.Builder Namespace

Return to top