Compartilhar via


ODataCollectionSerializer.WriteCollection Método

Definição

Grava o determinado graph usando o determinado writer.

public void WriteCollection (Microsoft.OData.ODataCollectionWriter writer, object graph, Microsoft.OData.Edm.IEdmTypeReference collectionType, Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerContext writeContext);
member this.WriteCollection : Microsoft.OData.ODataCollectionWriter * obj * Microsoft.OData.Edm.IEdmTypeReference * Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerContext -> unit
Public Sub WriteCollection (writer As ODataCollectionWriter, graph As Object, collectionType As IEdmTypeReference, writeContext As ODataSerializerContext)

Parâmetros

graph
Object

A coleção a ser gravada.

collectionType
IEdmTypeReference

O tipo EDM da coleção.

writeContext
ODataSerializerContext

O contexto do serializador.

Aplica-se a