예제 #1
0
 public void SetRelatedNames(ABMultiValue <string> value)
 {
     SetValue(ABPersonPropertyId.RelatedNames, value == null ? IntPtr.Zero : value.Handle);
 }
예제 #2
0
 public void SetSocialProfile(ABMultiValue <SocialProfile> profiles)
 {
     SetValue(ABPersonPropertyId.SocialProfile, profiles == null ? IntPtr.Zero : profiles.Handle);
 }
예제 #3
0
 public void SetUrls(ABMultiValue <string> value)
 {
     SetValue(ABPersonPropertyId.Url, value == null ? IntPtr.Zero : value.Handle);
 }
예제 #4
0
 public void SetInstantMessages(ABMultiValue <InstantMessageService> services)
 {
     SetValue(ABPersonPropertyId.InstantMessage, services == null ? IntPtr.Zero : services.Handle);
 }
예제 #5
0
 // Obsolete
 public void SetSocialProfile(ABMultiValue <NSDictionary> value)
 {
     SetValue(ABPersonPropertyId.SocialProfile, value == null ? IntPtr.Zero : value.Handle);
 }
예제 #6
0
 public void SetDates(ABMultiValue <NSDate> value)
 {
     SetValue(ABPersonPropertyId.Date, value == null ? IntPtr.Zero : value.Handle);
 }
예제 #7
0
 // Obsolete
 public void SetInstantMessages(ABMultiValue <NSDictionary> value)
 {
     SetValue(ABPersonPropertyId.InstantMessage, value == null ? IntPtr.Zero : value.Handle);
 }
예제 #8
0
 // Obsolete
 public void SetAddresses(ABMultiValue <NSDictionary> value)
 {
     SetValue(ABPersonPropertyId.Address, value == null ? IntPtr.Zero : value.Handle);
 }
예제 #9
0
 public void SetAddresses(ABMultiValue <PersonAddress> addresses)
 {
     SetValue(ABPersonPropertyId.Address, addresses == null ? IntPtr.Zero : addresses.Handle);
 }
 internal ABMultiValueEntry(ABMultiValue <T> self, int index)
 {
     this.self  = self;
     this.index = index;
 }
 public ABMutableStringMultiValue()
     : base(ABMultiValue.CreateMutable(ABPropertyType.MultiString),
            ABPerson.ToString, ABPerson.ToIntPtr)
 {
 }
 public ABMutableDictionaryMultiValue()
     : base(ABMultiValue.CreateMutable(ABPropertyType.MultiDictionary))
 {
 }
 public ABMutableDateMultiValue()
     : base(ABMultiValue.CreateMutable(ABPropertyType.MultiDateTime))
 {
 }
 public bool RemoveAt(int index)
 {
     return(ABMultiValue.RemoveValueAndLabelAtIndex(Handle, index));
 }