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

AsBool() public static method

public static AsBool ( IntPtr handle ) : bool
handle System.IntPtr
return bool
		public static bool AsBool (IntPtr handle)
		{
			bool value;

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

			CFNumberGetValue (handle, 1, out value);

			return value;
		}