Extensions.IsInteger(Object) 方法

定义

测试对象以查看它是否为整数类型。

public static bool IsInteger (this object value);
static member IsInteger : obj -> bool
<Extension()>
Public Function IsInteger (value As Object) As Boolean

参数

value
Object

要检查的值。

返回

如果数值类型,则为 True。

适用于