Share via


ODataStreamItem Constructors

Definition

Overloads

ODataStreamItem(EdmPrimitiveTypeKind)

Creates an ODataStreamValue with a specified typeKind.

ODataStreamItem(EdmPrimitiveTypeKind, String)

Creates an ODataStreamValue with a specified typeKind.

ODataStreamItem(EdmPrimitiveTypeKind)

Creates an ODataStreamValue with a specified typeKind.

public ODataStreamItem (Microsoft.OData.Edm.EdmPrimitiveTypeKind primitiveTypeKind);
new Microsoft.OData.ODataStreamItem : Microsoft.OData.Edm.EdmPrimitiveTypeKind -> Microsoft.OData.ODataStreamItem
Public Sub New (primitiveTypeKind As EdmPrimitiveTypeKind)

Parameters

primitiveTypeKind
EdmPrimitiveTypeKind

The type of stream value.

Applies to

ODataStreamItem(EdmPrimitiveTypeKind, String)

Creates an ODataStreamValue with a specified typeKind.

public ODataStreamItem (Microsoft.OData.Edm.EdmPrimitiveTypeKind primitiveTypeKind, string contentType);
new Microsoft.OData.ODataStreamItem : Microsoft.OData.Edm.EdmPrimitiveTypeKind * string -> Microsoft.OData.ODataStreamItem
Public Sub New (primitiveTypeKind As EdmPrimitiveTypeKind, contentType As String)

Parameters

primitiveTypeKind
EdmPrimitiveTypeKind

PrimitiveTypeKind of the stream value.

contentType
String

The mime type of the stream value.

Remarks

primitiveTypeKind is overridden if the MimeType is known.

Applies to