EdmDateTimeConstant Constructor (IEdmTemporalTypeReference, DateTime)

Initializes a new instance of the EdmDateTimeConstant 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 DateTime _
)
'Usage
Dim type As IEdmTemporalTypeReference 
Dim value As DateTime 

Dim instance As New EdmDateTimeConstant(type, value)
public EdmDateTimeConstant(
    IEdmTemporalTypeReference type,
    DateTime value
)
public:
EdmDateTimeConstant(
    IEdmTemporalTypeReference^ type, 
    DateTime value
)
new : 
        type:IEdmTemporalTypeReference * 
        value:DateTime -> EdmDateTimeConstant
public function EdmDateTimeConstant(
    type : IEdmTemporalTypeReference, 
    value : DateTime
)

Parameters

See Also

Reference

EdmDateTimeConstant Class

EdmDateTimeConstant Overload

Microsoft.Data.Edm.Library.Values Namespace