Share via


ValueSegment(IEdmType) Constructor

Definition

Build a segment to represent $value.

public ValueSegment (Microsoft.OData.Edm.IEdmType previousType);
new Microsoft.OData.UriParser.ValueSegment : Microsoft.OData.Edm.IEdmType -> Microsoft.OData.UriParser.ValueSegment
Public Sub New (previousType As IEdmType)

Parameters

previousType
IEdmType

The type of the segment before $value. This may be null, for cases such as open properties.

Exceptions

Throws if the input previousType is a collection type.

Applies to