EdmCoreModel.GetDateTimeOffset 方法

获取对具有偏移量基元类型定义的日期时间的引用。

命名空间:  Microsoft.Data.Edm.Library
程序集:  Microsoft.Data.Edm(在 Microsoft.Data.Edm.dll 中)

语法

声明
Public Function GetDateTimeOffset ( _
    isNullable As Boolean _
) As IEdmTemporalTypeReference
用法
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

参数

  • isNullable
    类型:System.Boolean
    若要指示引用的类型可以为 null,则为 true;否则为 false。

返回值

类型:Microsoft.Data.Edm.IEdmTemporalTypeReference
具有偏移量类型引用的新日期时间。

请参阅

参考

EdmCoreModel 类

Microsoft.Data.Edm.Library 命名空间