ODataCollectionSerializer.CreateODataCollectionValue 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
로 ODataCollectionValue 표시되는 열거 가능 항목에 대한 을 enumerable
만듭니다.
public virtual Microsoft.OData.ODataCollectionValue CreateODataCollectionValue (System.Collections.IEnumerable enumerable, Microsoft.OData.Edm.IEdmTypeReference elementType, Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerContext writeContext);
abstract member CreateODataCollectionValue : System.Collections.IEnumerable * Microsoft.OData.Edm.IEdmTypeReference * Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerContext -> Microsoft.OData.ODataCollectionValue
override this.CreateODataCollectionValue : System.Collections.IEnumerable * Microsoft.OData.Edm.IEdmTypeReference * Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerContext -> Microsoft.OData.ODataCollectionValue
Public Overridable Function CreateODataCollectionValue (enumerable As IEnumerable, elementType As IEdmTypeReference, writeContext As ODataSerializerContext) As ODataCollectionValue
매개 변수
- enumerable
- IEnumerable
만들 컬렉션의 값입니다.
- elementType
- IEdmTypeReference
컬렉션의 요소 EDM 형식입니다.
- writeContext
- ODataSerializerContext
컬렉션을 만드는 동안 사용될 직렬 변환기 컨텍스트입니다.
반환
만든 ODataCollectionValue입니다.