次の方法で共有


ODataOutputContext.CreateODataCollectionWriterAsync(IEdmTypeReference) メソッド

定義

(サービス操作の呼び出しの結果として) プリミティブ値または複合値のコレクションを書き込む を非同期的に作成 ODataCollectionWriter します。

public virtual System.Threading.Tasks.Task<Microsoft.OData.ODataCollectionWriter> CreateODataCollectionWriterAsync (Microsoft.OData.Edm.IEdmTypeReference itemTypeReference);
abstract member CreateODataCollectionWriterAsync : Microsoft.OData.Edm.IEdmTypeReference -> System.Threading.Tasks.Task<Microsoft.OData.ODataCollectionWriter>
override this.CreateODataCollectionWriterAsync : Microsoft.OData.Edm.IEdmTypeReference -> System.Threading.Tasks.Task<Microsoft.OData.ODataCollectionWriter>
Public Overridable Function CreateODataCollectionWriterAsync (itemTypeReference As IEdmTypeReference) As Task(Of ODataCollectionWriter)

パラメーター

itemTypeReference
IEdmTypeReference

書き込まれるコレクションの項目の種類。メタデータが使用できない場合は null。

戻り値

作成されたコレクション ライターに対して実行するタスク。

注釈

書き込みが完了したら (最後の書き込み呼び出し内で) 出力をフラッシュする必要があります。

適用対象