public unsafe double GetNumberValue(string key) { double num; CF.CFNumberGetValue(CF.CFDictionaryGetValue(this.dictionaryRef, CF.CFSTR(key)), CF.CFNumberType.kCFNumberDoubleType, &num); return(num); }
public unsafe double GetNumberValue(string key) { double retval; IntPtr cfnum = CF.CFDictionaryGetValue(DictRef, CF.CFSTR(key)); CF.CFNumberGetValue(cfnum, CF.CFNumberType.kCFNumberDoubleType, &retval); return(retval); }
public double GetNumberValue(string key) { double retval; var cfnum = CF.CFDictionaryGetValue(Ref, CF.CFSTR(key)); CF.CFNumberGetValue(cfnum, CF.CFNumberType.kCFNumberDoubleType, out retval); return(retval); }
public IntPtr this[int index] { get { if (index >= Count || index < 0) { throw new IndexOutOfRangeException(); } return(CF.CFArrayGetValueAtIndex(arrayRef, index)); } }
internal static bool CFNumberGetValue(IntPtr number, CF.CFNumberType theType, double* valuePtr);
internal static IntPtr CFSTR(string cStr) { return(CF.__CFStringMakeConstantString(cStr)); }