当前位置: 首页>>代码示例>>C#>>正文


C# CFNumberType类代码示例

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


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


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