Freigeben über


EdmCoreModel.GetDateTimeOffset-Methode

Ruft einen Verweis auf einen DateTime-Typ mit einer primitiven Offset-Typdefinition ab.

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

Parameter

  • isNullable
    Typ: System.Boolean
    true , um anzugeben, dass der referenzierte Typ NULL-Werte zulassen soll, andernfalls false.

Rückgabewert

Typ: Microsoft.Data.Edm.IEdmTemporalTypeReference
Ein neuer DateTime-Typ mit einem Offsettypverweis.

Siehe auch

Verweis

EdmCoreModel Klasse

Microsoft.Data.Edm.Library-Namespace