ABMutableMultiValue<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A ABMultiValue<T> that supports editing.
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, "Use the 'Contacts' API instead.")]
public class ABMutableMultiValue<T> : AddressBook.ABMultiValue<T>
type ABMutableMultiValue<'T> = class
inherit ABMultiValue<'T>
Type Parameters
- T
The type of the value to store.
- Inheritance
- Derived
- Attributes
Remarks
"Editing" includes adding and removing ABMultiValueEntry<T> entries and changing the Value and Label properties on those entries.
Supported operations include:
- Creating properties: C:AddressBook.ABMutableDateMultiValue.ctor, C:AddressBook.ABMutableDictionaryMultiValue.ctor, C:AddressBook.ABMutableStringMultiValue.ctor. :
- Creating properties: C:AddressBook.ABMutableDateMultiValue.ctor, C:AddressBook.ABMutableDictionaryMultiValue.ctor, C:AddressBook.ABMutableStringMultiValue.ctor. :
Properties
Count |
The number of entries in the ABMultiValue<T>. (Inherited from ABMultiValue<T>) |
Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from ABMultiValue<T>) |
IsReadOnly |
Gets a value indicating whether the ABMutableMultiValue<T> is read-only. |
Item[nint] |
Gets the ABMultiValueEntry<T>
instances at the specified |
PropertyType |
The type of the values in the collection. (Inherited from ABMultiValue<T>) |
Methods
Add(T, NSString) |
Add |
Dispose() |
Releases the resources used by the ABMultiValue`1 object. (Inherited from ABMultiValue<T>) |
Dispose(Boolean) |
Releases the resources used by the ABMultiValue`1 object. (Inherited from ABMultiValue<T>) |
GetEnumerator() |
Returns an enumerator that iterates through all entries in the ABMultiValue<T>. (Inherited from ABMultiValue<T>) |
GetFirstIndexOfValue(NSObject) |
Gets the first index of |
GetIndexForIdentifier(Int32) |
Gets the index within this collection of the
ABMultiValueEntry<T>
entry having an
Identifier
value equal to |
GetValues() |
Gets all values within the collection. (Inherited from ABMultiValue<T>) |
Insert(nint, T, NSString) | |
RemoveAt(nint) |
Removes a value from a multivalue property. |
ToMutableMultiValue() |
Returns an enumerator that iterates through all entries in the ABMultiValue<T>. (Inherited from ABMultiValue<T>) |
Explicit Interface Implementations
IEnumerable.GetEnumerator() |
Returns an enumerator that iterates through all entries in the ABMultiValue<T>. (Inherited from ABMultiValue<T>) |