コード例 #1
0
            public CFDictionary(IntPtr[] keys, IntPtr[] values)
            {
                CFDictionaryKeyCallBacks kcall = new CFDictionaryKeyCallBacks();

                CFDictionaryValueCallBacks vcall = new CFDictionaryValueCallBacks();

                base.typeRef = CFDictionaryCreate(IntPtr.Zero, keys, values, keys.Length, ref kcall, ref vcall);
            }
コード例 #2
0
ファイル: CFDictionary.cs プロジェクト: rAbd0u/iactivator
        unsafe public CFDictionary(string[] keys,IntPtr[] values)
        {
            IntPtr[] keyz = new IntPtr[keys.Length];  
            for (int i = 0; i < keys.Length; i++)
            {
                keyz[i] = new CFString(keys[i]);                
            }
            CFDictionaryKeyCallBacks kcall = new CFDictionaryKeyCallBacks();

            CFDictionaryValueCallBacks vcall = new CFDictionaryValueCallBacks();
            base.typeRef = CFLibrary.CFDictionaryCreate(IntPtr.Zero,keyz,values,keys.Length,ref kcall,ref vcall);            
        }
コード例 #3
0
ファイル: CFDictionary.cs プロジェクト: chencen2000/test1
        unsafe public CFDictionary(string[] keys, IntPtr[] values)
        {
            IntPtr[] keyz = new IntPtr[keys.Length];
            for (int i = 0; i < keys.Length; i++)
            {
                keyz[i] = new CFString(keys[i]);
            }
            CFDictionaryKeyCallBacks kcall = new CFDictionaryKeyCallBacks();

            CFDictionaryValueCallBacks vcall = new CFDictionaryValueCallBacks();

            base.typeRef = CFLibrary.CFDictionaryCreate(IntPtr.Zero, keyz, values, keys.Length, ref kcall, ref vcall);
        }
コード例 #4
0
			public CFDictionary(IntPtr[] keys,IntPtr[] values)
			{

				CFDictionaryKeyCallBacks kcall = new CFDictionaryKeyCallBacks();
				
				CFDictionaryValueCallBacks vcall = new CFDictionaryValueCallBacks();
				base.typeRef = CFDictionaryCreate(IntPtr.Zero,keys,values,keys.Length,ref kcall,ref vcall);            
			}