Share via


ODataMessageWriter.CreateODataCollectionWriter Method

Definition

Overloads

CreateODataCollectionWriter()

Creates an ODataCollectionWriter to write a collection of primitive or complex values (as result of a service operation invocation).

CreateODataCollectionWriter(IEdmTypeReference)

Creates an ODataCollectionWriter to write a collection of primitive , enum or complex values (as result of a service operation invocation).

CreateODataCollectionWriter()

Creates an ODataCollectionWriter to write a collection of primitive or complex values (as result of a service operation invocation).

public Microsoft.OData.ODataCollectionWriter CreateODataCollectionWriter ();
member this.CreateODataCollectionWriter : unit -> Microsoft.OData.ODataCollectionWriter
Public Function CreateODataCollectionWriter () As ODataCollectionWriter

Returns

The created collection writer.

Applies to

CreateODataCollectionWriter(IEdmTypeReference)

Creates an ODataCollectionWriter to write a collection of primitive , enum or complex values (as result of a service operation invocation).

public Microsoft.OData.ODataCollectionWriter CreateODataCollectionWriter (Microsoft.OData.Edm.IEdmTypeReference itemTypeReference);
member this.CreateODataCollectionWriter : Microsoft.OData.Edm.IEdmTypeReference -> Microsoft.OData.ODataCollectionWriter
Public Function CreateODataCollectionWriter (itemTypeReference As IEdmTypeReference) As ODataCollectionWriter

Parameters

itemTypeReference
IEdmTypeReference

The item type of the collection being written or null if no metadata is available.

Returns

The created collection writer.

Applies to