Share via


ABMutableMultiValue<T> Class

Definition

A ABMultiValue<T> that supports editing.

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

Remarks

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

Supported operations include:

Properties

Name Description
Count

The number of entries in the ABMultiValue<T>.

(Inherited from ABMultiValue<T>)
Handle (Inherited from DisposableObject)
IsReadOnly

Gets a value indicating whether the ABMutableMultiValue<T> is read-only.

Item[IntPtr] (Inherited from ABMultiValue<T>)
Owns (Inherited from DisposableObject)
PropertyType

The type of the values in the collection.

(Inherited from ABMultiValue<T>)

Methods

Name Description
Add(T, NSString)

Add value with the label label to a multivalue property.

ClearHandle() (Inherited from DisposableObject)
Dispose() (Inherited from DisposableObject)
Dispose(Boolean) (Inherited from NativeObject)
Equals(Object) (Inherited from DisposableObject)
GetCheckedHandle() (Inherited from DisposableObject)
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>)
GetHashCode() (Inherited from DisposableObject)
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>)
InitializeHandle(NativeHandle) (Inherited from DisposableObject)
Insert(IntPtr, T, NSString)
Release() (Inherited from NativeObject)
RemoveAt(IntPtr)
Retain() (Inherited from NativeObject)
ToMutableMultiValue()

Returns an enumerator that iterates through all entries in the ABMultiValue<T>.

(Inherited from ABMultiValue<T>)

Explicit Interface Implementations

Name Description
IEnumerable.GetEnumerator()

Returns an enumerator that iterates through all entries in the ABMultiValue<T>.

(Inherited from ABMultiValue<T>)

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to

See also