System.Net.CFNumber.AsInt32 C# (CSharp) Method

AsInt32() public static method

public static AsInt32 ( IntPtr handle ) : int
handle System.IntPtr
return int
		public static int AsInt32 (IntPtr handle)
		{
			int value;

			if (handle == IntPtr.Zero)
				return 0;

			CFNumberGetValue (handle, 9, out value);

			return value;
		}