Share via


EdmComplexObjectCollection Constructor (IEdmCollectionTypeReference, IList<IEdmComplexObject>)

Initialzes a new instance of the EdmComplexObjectCollection class.

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

Syntax

'Declaration
Public Sub New ( _
    edmType As IEdmCollectionTypeReference, _
    list As IList(Of IEdmComplexObject) _
)
'Usage
Dim edmType As IEdmCollectionTypeReference 
Dim list As IList(Of IEdmComplexObject)

Dim instance As New EdmComplexObjectCollection(edmType, _
    list)
public EdmComplexObjectCollection(
    IEdmCollectionTypeReference edmType,
    IList<IEdmComplexObject> list
)
public:
EdmComplexObjectCollection(
    IEdmCollectionTypeReference^ edmType, 
    IList<IEdmComplexObject^>^ list
)
new : 
        edmType:IEdmCollectionTypeReference * 
        list:IList<IEdmComplexObject> -> EdmComplexObjectCollection
public function EdmComplexObjectCollection(
    edmType : IEdmCollectionTypeReference, 
    list : IList<IEdmComplexObject>
)

Parameters

  • edmType
    Type: IEdmCollectionTypeReference
    The edm type of the collection.

See Also

Reference

EdmComplexObjectCollection Class

EdmComplexObjectCollection Overload

System.Web.Http.OData Namespace