ODataStreamItem Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.