EdmCoreModel.GetDateTimeOffset Method

Gets a reference to a datetime with offset primitive type definition.

Namespace:  Microsoft.Data.Edm.Library
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
Public Function GetDateTimeOffset ( _
    isNullable As Boolean _
) As IEdmTemporalTypeReference
'Usage
Dim instance As EdmCoreModel 
Dim isNullable As Boolean 
Dim returnValue As IEdmTemporalTypeReference 

returnValue = instance.GetDateTimeOffset(isNullable)
public IEdmTemporalTypeReference GetDateTimeOffset(
    bool isNullable
)
public:
IEdmTemporalTypeReference^ GetDateTimeOffset(
    bool isNullable
)
member GetDateTimeOffset : 
        isNullable:bool -> IEdmTemporalTypeReference
public function GetDateTimeOffset(
    isNullable : boolean
) : IEdmTemporalTypeReference

Parameters

  • isNullable
    Type: System.Boolean
    true to indicate that the referenced type should be nullable; otherwise, false.

Return Value

Type: Microsoft.Data.Edm.IEdmTemporalTypeReference
A new datetime with offset type reference.

See Also

Reference

EdmCoreModel Class

Microsoft.Data.Edm.Library Namespace