Share via


EdmDurationConstant Constructors

Definition

Overloads

EdmDurationConstant(TimeSpan)

Initializes a new instance of the EdmDurationConstant class.

EdmDurationConstant(IEdmTemporalTypeReference, TimeSpan)

Initializes a new instance of the EdmDurationConstant class.

EdmDurationConstant(TimeSpan)

Initializes a new instance of the EdmDurationConstant class.

public EdmDurationConstant (TimeSpan value);
new Microsoft.OData.Edm.Vocabularies.EdmDurationConstant : TimeSpan -> Microsoft.OData.Edm.Vocabularies.EdmDurationConstant
Public Sub New (value As TimeSpan)

Parameters

value
TimeSpan

Duration value represented by this value.

Applies to

EdmDurationConstant(IEdmTemporalTypeReference, TimeSpan)

Initializes a new instance of the EdmDurationConstant class.

public EdmDurationConstant (Microsoft.OData.Edm.IEdmTemporalTypeReference type, TimeSpan value);
new Microsoft.OData.Edm.Vocabularies.EdmDurationConstant : Microsoft.OData.Edm.IEdmTemporalTypeReference * TimeSpan -> Microsoft.OData.Edm.Vocabularies.EdmDurationConstant
Public Sub New (type As IEdmTemporalTypeReference, value As TimeSpan)

Parameters

type
IEdmTemporalTypeReference

Type of the Duration.

value
TimeSpan

Duration value represented by this value.

Applies to