EdmTypeSemantics.IsDateTimeOffset Method
Determines whether this reference refers to a DateTimeOffset type.
Namespace: Microsoft.Data.Edm
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function IsDateTimeOffset ( _
type As IEdmTypeReference _
) As Boolean
'Usage
Dim type As IEdmTypeReference
Dim returnValue As Boolean
returnValue = type.IsDateTimeOffset()
public static bool IsDateTimeOffset(
this IEdmTypeReference type
)
[ExtensionAttribute]
public:
static bool IsDateTimeOffset(
IEdmTypeReference^ type
)
static member IsDateTimeOffset :
type:IEdmTypeReference -> bool
public static function IsDateTimeOffset(
type : IEdmTypeReference
) : boolean
Parameters
- type
Type: Microsoft.Data.Edm.IEdmTypeReference
A reference to the calling object.
Return Value
Type: System.Boolean
true if this reference refers to a DateTimeOffset type; otherwise, false.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmTypeReference. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.103) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).