Compartilhar via


ODataCollectionSerializer.WriteCollection Method (ODataCollectionWriter, Object, IEdmTypeReference, ODataSerializerContext)

 

Writes the given graph using the given writer.

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

Syntax

public void WriteCollection(
    ODataCollectionWriter writer,
    object graph,
    IEdmTypeReference collectionType,
    ODataSerializerContext writeContext
)
public:
void WriteCollection(
    ODataCollectionWriter^ writer,
    Object^ graph,
    IEdmTypeReference^ collectionType,
    ODataSerializerContext^ writeContext
)
member WriteCollection : 
        writer:ODataCollectionWriter *
        graph:Object *
        collectionType:IEdmTypeReference *
        writeContext:ODataSerializerContext -> unit
Public Sub WriteCollection (
    writer As ODataCollectionWriter,
    graph As Object,
    collectionType As IEdmTypeReference,
    writeContext As ODataSerializerContext
)

Parameters

See Also

ODataCollectionSerializer Class
System.Web.Http.OData.Formatter.Serialization Namespace

Return to top