ABGroup 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
Attributes
Implements

Remarks

ABGroup supports:

Constructors

ABGroup() ABGroup()

Constructs and initializes a ABGroup instance.

ABGroup(ABRecord) ABGroup(ABRecord)

Properties

Handle Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from ABRecord)
Id Id

Gets the unique ID of the record.

(Inherited from ABRecord)
Name Name

The name of the group.

Source Source
Type Type

Gets the type of the record.

(Inherited from ABRecord)

Methods

Add(ABRecord) Add(ABRecord)

Adds a ABRecord to the group.

Dispose() Dispose()

Releases the resources used by the ABRecord object.

(Inherited from ABRecord)
Dispose(Boolean) Dispose(Boolean)

Releases the resources used by the ABRecord object.

(Inherited from ABRecord)
GetEnumerator() GetEnumerator()

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

GetMembers(ABPersonSortBy) GetMembers(ABPersonSortBy)

Returns the group members sorted by the specified sortOrdering.

Remove(ABRecord) Remove(ABRecord)

Removes member from the group.

ToString() ToString()

Returns the composite name of the ABRecord.

(Inherited from ABRecord)

Explicit Interface Implementations

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

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

Fields

InvalidPropertyId InvalidPropertyId

An invalid value for a property id.

(Inherited from ABRecord)
InvalidRecordId InvalidRecordId

An invalid value for a record id.

(Inherited from ABRecord)

Applies to