共用方式為


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 命名空間