创建 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
参数
- expectedItemTypeReference
类型:Microsoft.Data.Edm.IEdmTypeReference
集合中的项的预期资源类型。
返回值
类型:Microsoft.Data.OData.ODataCollectionReader
创建的集合读取器。