EdmTypeSemantics.IsSingle 方法

确定此引用是否引用单精度类型。

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

语法

声明
<ExtensionAttribute> _
Public Shared Function IsSingle ( _
    type As IEdmTypeReference _
) As Boolean
用法
Dim type As IEdmTypeReference
Dim returnValue As Boolean

returnValue = type.IsSingle()
public static bool IsSingle(
    this IEdmTypeReference type
)
[ExtensionAttribute]
public:
static bool IsSingle(
    IEdmTypeReference^ type
)
static member IsSingle : 
        type:IEdmTypeReference -> bool 
public static function IsSingle(
    type : IEdmTypeReference
) : boolean

参数

返回值

类型:System.Boolean
如果此引用所引用的是单精度类型,则为 true;否则为 false。

用法说明

在 Visual Basic 和 C# 中,您可以对 IEdmTypeReference 类型的任何对象将此方法作为实例方法调用。在您使用实例方法语法调用此方法时,将忽略第一个参数。有关详细信息,请参阅https://msdn.microsoft.com/zh-cn/library/bb384936(v=vs.103)https://msdn.microsoft.com/zh-cn/library/bb383977(v=vs.103)

请参阅

参考

EdmTypeSemantics 类

Microsoft.Data.Edm 命名空间