ABGroup Class

Definition

A grouping of ABPerson and other ABGroup records.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, "Use the 'Contacts' API instead.")]
public class ABGroup : AddressBook.ABRecord, System.Collections.Generic.IEnumerable<AddressBook.ABRecord>
type ABGroup = class
    inherit ABRecord
    interface seq<ABRecord>
    interface IEnumerable
Inheritance
ABGroup
Attributes
Implements

Remarks

ABGroup supports:

Constructors

ABGroup()

Constructs and initializes a ABGroup instance.

ABGroup(ABRecord)

Fields

InvalidPropertyId

An invalid value for a property id.

(Inherited from ABRecord)
InvalidRecordId

An invalid value for a record id.

(Inherited from ABRecord)

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from ABRecord)
Id

Gets the unique ID of the record.

(Inherited from ABRecord)
Name

The name of the group.

Source
Type

Gets the type of the record.

(Inherited from ABRecord)

Methods

Add(ABRecord)

Adds a ABRecord to the group.

Dispose()

Releases the resources used by the ABRecord object.

(Inherited from ABRecord)
Dispose(Boolean)

Releases the resources used by the ABRecord object.

(Inherited from ABRecord)
GetEnumerator()

Returns an enumerator that iterates through all members in the group.

GetMembers(ABPersonSortBy)

Returns the group members sorted by the specified sortOrdering.

Remove(ABRecord)

Removes member from the group.

ToString()

Returns the composite name of the ABRecord.

(Inherited from ABRecord)

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through all members in the group.

Applies to