EdmTimeConstant Constructor (IEdmTemporalTypeReference, TimeSpan)
Initializes a new instance of the EdmTimeConstant class.
Namespace: Microsoft.Data.Edm.Library.Values
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Sub New ( _
type As IEdmTemporalTypeReference, _
value As TimeSpan _
)
'Usage
Dim type As IEdmTemporalTypeReference
Dim value As TimeSpan
Dim instance As New EdmTimeConstant(type, value)
public EdmTimeConstant(
IEdmTemporalTypeReference type,
TimeSpan value
)
public:
EdmTimeConstant(
IEdmTemporalTypeReference^ type,
TimeSpan value
)
new :
type:IEdmTemporalTypeReference *
value:TimeSpan -> EdmTimeConstant
public function EdmTimeConstant(
type : IEdmTemporalTypeReference,
value : TimeSpan
)
Parameters
- type
Type: Microsoft.Data.Edm.IEdmTemporalTypeReference
The type of the Time.
- value
Type: System.TimeSpan
The time value represented by this value.