[]
Gets a value indicating whether the PageCollection contains the specified Page.
public bool Contains(Page item)
Type | Name | Description |
---|---|---|
Page | item | A Page object for which to check. |
Type | Description |
---|---|
bool | A bool value. |
PageCollection collection = new PageCollection();
Page page = new Page();
collection.Add(page);
bool contains = collection.Contains(page);