EdmDateTimeOffsetConstant Constructor (IEdmTemporalTypeReference, DateTimeOffset)
Initializes a new instance of the EdmDateTimeOffsetConstant 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 DateTimeOffset _
)
'Usage
Dim type As IEdmTemporalTypeReference
Dim value As DateTimeOffset
Dim instance As New EdmDateTimeOffsetConstant(type, value)
public EdmDateTimeOffsetConstant(
IEdmTemporalTypeReference type,
DateTimeOffset value
)
public:
EdmDateTimeOffsetConstant(
IEdmTemporalTypeReference^ type,
DateTimeOffset value
)
new :
type:IEdmTemporalTypeReference *
value:DateTimeOffset -> EdmDateTimeOffsetConstant
public function EdmDateTimeOffsetConstant(
type : IEdmTemporalTypeReference,
value : DateTimeOffset
)
Parameters
- type
Type: Microsoft.Data.Edm.IEdmTemporalTypeReference
The type of the DateTimeOffset.
- value
Type: System.DateTimeOffset
A DateTimeOffset value represented by this value.
See Also
Reference
EdmDateTimeOffsetConstant Class