ABGroup 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.
[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:
- Creating groups: ABGroup. :
- Managing group members: Add(ABRecord), Remove(ABRecord), IEnumerable.GetEnumerator(), GetMembers(ABPersonSortBy). :
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
|
Remove(ABRecord) |
Removes |
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. |