ODataMessageWriter.CreateODataFeedWriter Method (IEdmEntitySet, IEdmEntityType)

Creates an ODataWriter to write a feed.

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public Function CreateODataFeedWriter ( _
    entitySet As IEdmEntitySet, _
    entityType As IEdmEntityType _
) As ODataWriter
'Usage
Dim instance As ODataMessageWriter 
Dim entitySet As IEdmEntitySet 
Dim entityType As IEdmEntityType 
Dim returnValue As ODataWriter 

returnValue = instance.CreateODataFeedWriter(entitySet, _
    entityType)
public ODataWriter CreateODataFeedWriter(
    IEdmEntitySet entitySet,
    IEdmEntityType entityType
)
public:
ODataWriter^ CreateODataFeedWriter(
    IEdmEntitySet^ entitySet, 
    IEdmEntityType^ entityType
)
member CreateODataFeedWriter : 
        entitySet:IEdmEntitySet * 
        entityType:IEdmEntityType -> ODataWriter
public function CreateODataFeedWriter(
    entitySet : IEdmEntitySet, 
    entityType : IEdmEntityType
) : ODataWriter

Parameters

Return Value

Type: Microsoft.Data.OData.ODataWriter
The created writer.

See Also

Reference

ODataMessageWriter Class

CreateODataFeedWriter Overload

Microsoft.Data.OData Namespace