Share via


ODataWriter.Write Method

Definition

Overloads

Write(ODataProperty, Action)

Writes a primitive property within a resource.

Write(ODataNestedResourceInfo, Action)

Writes a nested resource info and performs an action in-between.

Write(ODataDeltaResourceSet, Action)

Writes a delta resource set and performs an action in-between.

Write(ODataDeletedResource, Action)

Writes a deleted resource and performs an action in-between.

Write(ODataResourceSet)

Writes a resource set.

Write(ODataResource)

Writes a resource.

Write(ODataDeltaResourceSet)

Writes a delta resource set.

Write(ODataPrimitiveValue)

Writes a primitive value within an untyped collection.

Write(ODataNestedResourceInfo)

Writes a nested resource info.

Write(ODataResource, Action)

Writes a resource and performs an action in-between.

Write(ODataDeltaLink)

Writes a delta link.

Write(ODataDeltaDeletedLink)

Writes a deleted link.

Write(ODataDeletedResource)

Writes a deleted resource.

Write(ODataProperty)

Writes a primitive property within a resource.

Write(ODataResourceSet, Action)

Writes a resource set and performs an action in-between.

Write(ODataProperty, Action)

Writes a primitive property within a resource.

public Microsoft.OData.ODataWriter Write (Microsoft.OData.ODataProperty primitiveProperty, Action nestedAction);
member this.Write : Microsoft.OData.ODataProperty * Action -> Microsoft.OData.ODataWriter
Public Function Write (primitiveProperty As ODataProperty, nestedAction As Action) As ODataWriter

Parameters

primitiveProperty
ODataProperty

The primitive property to write.

nestedAction
Action

The action to perform in-between the writing.

Returns

This ODataWriter, allowing for chaining operations.

Applies to

Write(ODataNestedResourceInfo, Action)

Writes a nested resource info and performs an action in-between.

public Microsoft.OData.ODataWriter Write (Microsoft.OData.ODataNestedResourceInfo nestedResourceInfo, Action nestedAction);
member this.Write : Microsoft.OData.ODataNestedResourceInfo * Action -> Microsoft.OData.ODataWriter
Public Function Write (nestedResourceInfo As ODataNestedResourceInfo, nestedAction As Action) As ODataWriter

Parameters

nestedResourceInfo
ODataNestedResourceInfo

The nested resource info to write.

nestedAction
Action

The action to perform in-between the writing.

Returns

This ODataWriter, allowing for chaining operations.

Applies to

Write(ODataDeltaResourceSet, Action)

Writes a delta resource set and performs an action in-between.

public Microsoft.OData.ODataWriter Write (Microsoft.OData.ODataDeltaResourceSet deltaResourceSet, Action nestedAction);
member this.Write : Microsoft.OData.ODataDeltaResourceSet * Action -> Microsoft.OData.ODataWriter
Public Function Write (deltaResourceSet As ODataDeltaResourceSet, nestedAction As Action) As ODataWriter

Parameters

deltaResourceSet
ODataDeltaResourceSet

The delta resource set or collection to write.

nestedAction
Action

The action to perform in-between writing the resource set.

Returns

This ODataWriter, allowing for chaining operations.

Applies to

Write(ODataDeletedResource, Action)

Writes a deleted resource and performs an action in-between.

public Microsoft.OData.ODataWriter Write (Microsoft.OData.ODataDeletedResource deletedResource, Action nestedAction);
member this.Write : Microsoft.OData.ODataDeletedResource * Action -> Microsoft.OData.ODataWriter
Public Function Write (deletedResource As ODataDeletedResource, nestedAction As Action) As ODataWriter

Parameters

deletedResource
ODataDeletedResource

The deleted resource to write.

nestedAction
Action

The action to perform in-between the writing.

Returns

This ODataWriter, allowing for chaining operations.

Applies to

Write(ODataResourceSet)

Writes a resource set.

public Microsoft.OData.ODataWriter Write (Microsoft.OData.ODataResourceSet resourceSet);
member this.Write : Microsoft.OData.ODataResourceSet -> Microsoft.OData.ODataWriter
Public Function Write (resourceSet As ODataResourceSet) As ODataWriter

Parameters

resourceSet
ODataResourceSet

The resource set or collection to write.

Returns

This ODataWriter, allowing for chaining operations.

Applies to

Write(ODataResource)

Writes a resource.

public Microsoft.OData.ODataWriter Write (Microsoft.OData.ODataResource resource);
member this.Write : Microsoft.OData.ODataResource -> Microsoft.OData.ODataWriter
Public Function Write (resource As ODataResource) As ODataWriter

Parameters

resource
ODataResource

The resource or item to write.

Returns

This ODataWriter, allowing for chaining operations.

Applies to

Write(ODataDeltaResourceSet)

Writes a delta resource set.

public Microsoft.OData.ODataWriter Write (Microsoft.OData.ODataDeltaResourceSet deltaResourceSet);
member this.Write : Microsoft.OData.ODataDeltaResourceSet -> Microsoft.OData.ODataWriter
Public Function Write (deltaResourceSet As ODataDeltaResourceSet) As ODataWriter

Parameters

deltaResourceSet
ODataDeltaResourceSet

The delta resource set or collection to write.

Returns

This ODataWriter, allowing for chaining operations.

Applies to

Write(ODataPrimitiveValue)

Writes a primitive value within an untyped collection.

public Microsoft.OData.ODataWriter Write (Microsoft.OData.ODataPrimitiveValue primitiveValue);
member this.Write : Microsoft.OData.ODataPrimitiveValue -> Microsoft.OData.ODataWriter
Public Function Write (primitiveValue As ODataPrimitiveValue) As ODataWriter

Parameters

primitiveValue
ODataPrimitiveValue

The primitive value to write.

Returns

This ODataWriter, allowing for chaining operations.

Applies to

Write(ODataNestedResourceInfo)

Writes a nested resource info.

public Microsoft.OData.ODataWriter Write (Microsoft.OData.ODataNestedResourceInfo nestedResourceInfo);
member this.Write : Microsoft.OData.ODataNestedResourceInfo -> Microsoft.OData.ODataWriter
Public Function Write (nestedResourceInfo As ODataNestedResourceInfo) As ODataWriter

Parameters

nestedResourceInfo
ODataNestedResourceInfo

The nested resource info to write.

Returns

This ODataWriter, allowing for chaining operations.

Applies to

Write(ODataResource, Action)

Writes a resource and performs an action in-between.

public Microsoft.OData.ODataWriter Write (Microsoft.OData.ODataResource resource, Action nestedAction);
member this.Write : Microsoft.OData.ODataResource * Action -> Microsoft.OData.ODataWriter
Public Function Write (resource As ODataResource, nestedAction As Action) As ODataWriter

Parameters

resource
ODataResource

The resource or item to write.

nestedAction
Action

The action to perform in-between the writing.

Returns

This ODataWriter, allowing for chaining operations.

Applies to

Write(ODataDeltaLink)

Writes a delta link.

public Microsoft.OData.ODataWriter Write (Microsoft.OData.ODataDeltaLink deltaLink);
member this.Write : Microsoft.OData.ODataDeltaLink -> Microsoft.OData.ODataWriter
Public Function Write (deltaLink As ODataDeltaLink) As ODataWriter

Parameters

deltaLink
ODataDeltaLink

The delta link to write.

Returns

This ODataWriter, allowing for chaining operations.

Applies to

Write(ODataDeltaDeletedLink)

Writes a deleted link.

public Microsoft.OData.ODataWriter Write (Microsoft.OData.ODataDeltaDeletedLink deltaDeletedLink);
member this.Write : Microsoft.OData.ODataDeltaDeletedLink -> Microsoft.OData.ODataWriter
Public Function Write (deltaDeletedLink As ODataDeltaDeletedLink) As ODataWriter

Parameters

deltaDeletedLink
ODataDeltaDeletedLink

The delta deleted link to write.

Returns

This ODataWriter, allowing for chaining operations.

Applies to

Write(ODataDeletedResource)

Writes a deleted resource.

public Microsoft.OData.ODataWriter Write (Microsoft.OData.ODataDeletedResource deletedResource);
member this.Write : Microsoft.OData.ODataDeletedResource -> Microsoft.OData.ODataWriter
Public Function Write (deletedResource As ODataDeletedResource) As ODataWriter

Parameters

deletedResource
ODataDeletedResource

The deleted resource to write.

Returns

This ODataWriter, allowing for chaining operations.

Applies to

Write(ODataProperty)

Writes a primitive property within a resource.

public Microsoft.OData.ODataWriter Write (Microsoft.OData.ODataProperty primitiveProperty);
member this.Write : Microsoft.OData.ODataProperty -> Microsoft.OData.ODataWriter
Public Function Write (primitiveProperty As ODataProperty) As ODataWriter

Parameters

primitiveProperty
ODataProperty

The primitive property to write.

Returns

This ODataWriter, allowing for chaining operations.

Applies to

Write(ODataResourceSet, Action)

Writes a resource set and performs an action in-between.

public Microsoft.OData.ODataWriter Write (Microsoft.OData.ODataResourceSet resourceSet, Action nestedAction);
member this.Write : Microsoft.OData.ODataResourceSet * Action -> Microsoft.OData.ODataWriter
Public Function Write (resourceSet As ODataResourceSet, nestedAction As Action) As ODataWriter

Parameters

resourceSet
ODataResourceSet

The resource set or collection to write.

nestedAction
Action

The action to perform in-between writing the resource set.

Returns

This ODataWriter, allowing for chaining operations.

Applies to