ODataMessageReader.CreateODataCollectionReader 方法 (IEdmTypeReference)

创建 ODataCollectionReader 以读取基元值或复杂值(服务操作调用的结果)的集合。

命名空间:  Microsoft.Data.OData
程序集:  Microsoft.Data.OData(在 Microsoft.Data.OData.dll 中)

语法

声明
Public Function CreateODataCollectionReader ( _
    expectedItemTypeReference As IEdmTypeReference _
) As ODataCollectionReader
用法
Dim instance As ODataMessageReader
Dim expectedItemTypeReference As IEdmTypeReference
Dim returnValue As ODataCollectionReader

returnValue = instance.CreateODataCollectionReader(expectedItemTypeReference)
public ODataCollectionReader CreateODataCollectionReader(
    IEdmTypeReference expectedItemTypeReference
)
public:
ODataCollectionReader^ CreateODataCollectionReader(
    IEdmTypeReference^ expectedItemTypeReference
)
member CreateODataCollectionReader : 
        expectedItemTypeReference:IEdmTypeReference -> ODataCollectionReader 
public function CreateODataCollectionReader(
    expectedItemTypeReference : IEdmTypeReference
) : ODataCollectionReader

参数

返回值

类型:Microsoft.Data.OData.ODataCollectionReader
创建的集合读取器。

请参阅

参考

ODataMessageReader 类

CreateODataCollectionReader 重载

Microsoft.Data.OData 命名空间