PersonCollection

PersonCollection

Overview

PersonCollection is a class in Aspose.Words FOSS for .NET. Inherits from: Contributor, IEnumerable<Person>.

Represents a list of persons who are bibliography source contributors.

This class provides 8 methods for working with PersonCollection objects in .NET programs. Available methods include: Add, Clear, Contains, PersonCollection, Remove, RemoveAt. All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package. Properties: Count.

Properties

NameTypeAccessDescription
CountintReadGets the number of persons contained in the collection.

Methods

SignatureDescription
PersonCollection()Initialize a new instance of the PersonCollection class.
PersonCollection(persons: IEnumerable<Person>)Initialize a new instance of the PersonCollection class.
PersonCollection(persons)Initialize a new instance of the PersonCollection class.
Add(person: Person)Adds a Person to the collection.
Remove(person: Person)Removes the person from the collection.
RemoveAt(index: int)Removes the person at the specified index.
Clear()Removes all items from the collection.
Contains(person: Person)Determines whether the collection contains a specific person.

See Also