Edytuj

Udostępnij za pośrednictwem


ABMutableMultiValue<T> Class

Definition

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
ABMutableMultiValue<T>
Derived
Attributes

Remarks

"Editing" includes adding and removing ABMultiValueEntry<T> entries and changing the Value and Label properties on those entries.

Supported operations include:

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 index.

(Inherited from ABMultiValue<T>)
PropertyType

The type of the values in the collection.

(Inherited from ABMultiValue<T>)

Methods

Add(T, NSString)

Add value with the label label to a multivalue property.

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 value within the collection.

(Inherited from ABMultiValue<T>)
GetIndexForIdentifier(Int32)

Gets the index within this collection of the ABMultiValueEntry<T> entry having an Identifier value equal to identifier.

(Inherited from ABMultiValue<T>)
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>)

Applies to

See also