Freigeben über


EdmCoreModel.GetDateTime-Methode

Ruft einen Verweis auf eine primitive DateTime-Typdefinition ab.

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

Syntax

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

returnValue = instance.GetDateTime(isNullable)
public IEdmTemporalTypeReference GetDateTime(
    bool isNullable
)
public:
IEdmTemporalTypeReference^ GetDateTime(
    bool isNullable
)
member GetDateTime : 
        isNullable:bool -> IEdmTemporalTypeReference 
public function GetDateTime(
    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-Typverweis.

Siehe auch

Verweis

EdmCoreModel Klasse

Microsoft.Data.Edm.Library-Namespace