EdmTypeSemantics.IsIntegral Method (EdmPrimitiveTypeKind)

Determines whether this primitive type kind represents an integer type.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function IsIntegral ( _
    primitiveTypeKind As EdmPrimitiveTypeKind _
) As Boolean
'Usage
Dim primitiveTypeKind As EdmPrimitiveTypeKind 
Dim returnValue As Boolean 

returnValue = primitiveTypeKind.IsIntegral()
public static bool IsIntegral(
    this EdmPrimitiveTypeKind primitiveTypeKind
)
[ExtensionAttribute]
public:
static bool IsIntegral(
    EdmPrimitiveTypeKind primitiveTypeKind
)
static member IsIntegral : 
        primitiveTypeKind:EdmPrimitiveTypeKind -> bool
public static function IsIntegral(
    primitiveTypeKind : EdmPrimitiveTypeKind
) : boolean

Parameters

Return Value

Type: System.Boolean
true if this primitive type kind represents an integer type; otherwise, false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type EdmPrimitiveTypeKind. 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).

See Also

Reference

EdmTypeSemantics Class

IsIntegral Overload

Microsoft.Data.Edm Namespace