IntrinsicFunctions.TypeTestGeneric<'T> 函数 (F#)
一个实现 :? 运算符的编译器内部函数。
命名空间/模块路径:Microsoft.FSharp.Core.LanguagePrimitives.IntrinsicFunctions
程序集:FSharp.Core(在 FSharp.Core.dll 中)
// Signature:
TypeTestGeneric : obj -> bool
// Usage:
TypeTestGeneric source
参数
source
类型:obj要测试的对象。
返回值
如果类型与指定的类型匹配,则为 true;否则为 false。
备注
此函数供编译的 F# 代码使用,不应直接使用。
平台
Windows 8,Windows 7,Windows server 2012中,Windows server 2008 R2
版本信息
F#核心库版本
支持:2.0,4.0,可移植