• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# CFNumberType类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中CFNumberType的典型用法代码示例。如果您正苦于以下问题:C# CFNumberType类的具体用法?C# CFNumberType怎么用?C# CFNumberType使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



CFNumberType类属于命名空间,在下文中一共展示了CFNumberType类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: CFNumberGetValue_Double

 internal static extern bool CFNumberGetValue_Double(IntPtr number, CFNumberType theType, ref double valuePtr);
开发者ID:nivalxer,项目名称:MobileDevice,代码行数:1,代码来源:CoreFundation.cs


示例2: CFNumberGetValue

 internal static unsafe extern bool CFNumberGetValue(IntPtr number, CFNumberType theType, double* valuePtr);
开发者ID:Chameleonherman,项目名称:ClassicalSharp,代码行数:1,代码来源:CoreFoundation.cs


示例3: CFNumberCreate_Int64

 public static extern IntPtr CFNumberCreate_Int64(IntPtr number, CFNumberType theType, ref long valuePtr);
开发者ID:nivalxer,项目名称:MobileDevice,代码行数:1,代码来源:CoreFundation.cs


示例4: CFNumberCreate

		internal static extern CFNumberRef CFNumberCreate (CFAllocatorRef allocator,CFNumberType theType,IntPtr valuePtr);
开发者ID:cupsster,项目名称:Unity3d-InputMapper,代码行数:1,代码来源:Native.cs


示例5: IsIntType

 private static bool IsIntType(CFNumberType numType)
 {
     return (numType == CFNumberType.kCFNumberSInt8Type ||
             numType == CFNumberType.kCFNumberSInt16Type ||
             numType == CFNumberType.kCFNumberSInt32Type ||
             numType == CFNumberType.kCFNumberSInt64Type ||
             numType == CFNumberType.kCFNumberCharType ||
             numType == CFNumberType.kCFNumberShortType ||
             numType == CFNumberType.kCFNumberIntType ||
             numType == CFNumberType.kCFNumberLongType ||
             numType == CFNumberType.kCFNumberLongLongType);
 }
开发者ID:CheneyWu,项目名称:coreclr,代码行数:12,代码来源:GlobLocHelper.cs


示例6: CFNumberGetValue_Single

 internal static extern bool CFNumberGetValue_Single(IntPtr number, CFNumberType theType, ref float valuePtr);
开发者ID:nivalxer,项目名称:MobileDevice,代码行数:1,代码来源:CoreFundation.cs


示例7: CFNumberGetValue

 public static extern bool CFNumberGetValue(IntPtr number, CFNumberType type, out int value);
开发者ID:arvydas,项目名称:BlinkStickDotNet,代码行数:1,代码来源:NativeMethods.cs


示例8: CFNumberGetValue

 private static extern Boolean CFNumberGetValue(IntPtr/*CFNumber*/ Number, CFNumberType TheType, out Int64 Value);
开发者ID:Art1stical,项目名称:AHRUnrealEngine,代码行数:1,代码来源:CoreFoundation.cs


示例9: CFNumberGetValue

 internal static extern bool CFNumberGetValue (IntPtr number, CFNumberType theType, out long valuePtr);
开发者ID:RetroAchievements,项目名称:opentk,代码行数:1,代码来源:CoreFoundation.cs


示例10: CFNumberGetValue

 public static extern Boolean CFNumberGetValue(IntPtr/*CFNumber*/ Number, CFNumberType TheType, out uint Value);
开发者ID:colwalder,项目名称:unrealengine,代码行数:1,代码来源:CoreFoundation.cs


示例11: CFNumberCreate

 private static extern IntPtr CFNumberCreate(IntPtr allocator, CFNumberType theType, ref Int32 Value);
开发者ID:Art1stical,项目名称:AHRUnrealEngine,代码行数:1,代码来源:CoreFoundation.cs


示例12: CFNumberCreate

 public IntPtr CFNumberCreate(IntPtr allocator, CFNumberType theType, ref Int32 Value)
 {
     return CoreFoundation.CFNumberCreate(allocator, theType, ref Value);
 }
开发者ID:colwalder,项目名称:unrealengine,代码行数:4,代码来源:CoreFoundation.cs


示例13: CFNumberGetValue

			public extern static Boolean CFNumberGetValue(IntPtr/*CFNumber*/ Number, CFNumberType TheType, out double Value);
开发者ID:zhaoyizheng0930,项目名称:UnrealEngine,代码行数:1,代码来源:CoreFoundation.cs


示例14: CFNumberGetValue_Int

 internal static extern bool CFNumberGetValue_Int(IntPtr number, CFNumberType theType, ref int valuePtr);
开发者ID:nivalxer,项目名称:MobileDevice,代码行数:1,代码来源:CoreFundation.cs


示例15: CFNumberCreate

 public static extern IntPtr CFNumberCreate(IntPtr intptr_2, CFNumberType enum20_0, IntPtr intptr_3);
开发者ID:nivalxer,项目名称:MobileDevice,代码行数:1,代码来源:CoreFundation.cs


示例16: CFNumberGetValue_Long

 internal static extern bool CFNumberGetValue_Long(IntPtr number, CFNumberType theType, ref long valuePtr);
开发者ID:nivalxer,项目名称:MobileDevice,代码行数:1,代码来源:CoreFundation.cs


示例17: CFNumberCreate_Double

 public static extern IntPtr CFNumberCreate_Double(IntPtr number, CFNumberType theType,
     ref double valuePtr);
开发者ID:nivalxer,项目名称:MobileDevice,代码行数:2,代码来源:CoreFundation.cs


示例18: CFNumberCreate

 public static extern IntPtr CFNumberCreate(IntPtr allocator, CFNumberType type, ref int value);
开发者ID:arvydas,项目名称:BlinkStickDotNet,代码行数:1,代码来源:NativeMethods.cs


示例19: CFNumberCreate_Float

 public static extern IntPtr CFNumberCreate_Float(IntPtr number, CFNumberType theType, ref float valuePtr);
开发者ID:nivalxer,项目名称:MobileDevice,代码行数:1,代码来源:CoreFundation.cs


示例20: CFNumberCreate_Int16

 public static extern IntPtr CFNumberCreate_Int16(IntPtr number, CFNumberType theType, ref short valuePtr);
开发者ID:nivalxer,项目名称:MobileDevice,代码行数:1,代码来源:CoreFundation.cs



注:本文中的CFNumberType类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# CGBitmapContext类代码示例发布时间:2022-05-24
下一篇:
C# CEvent类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap