Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

ProjectCollection`1

Namespace OfficeIMO.Project
Assembly OfficeIMO.Project
Implements
IReadOnlyList<T> IReadOnlyCollection<T> IEnumerable<T> IEnumerable
Attributes
DefaultMember("Item")

A bounded-by-document collection that creates items owned by the same project.

Inheritance

  • Object
  • ProjectCollection`1

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Type Parameters

T

Methods

public T Add() #
Returns: T

Creates and appends an item owned by this document.

public virtual IEnumerator<T> GetEnumerator() #
Returns: IEnumerator<T>

Enumerates items in document order.

public Boolean Remove(T item) #
Returns: Boolean

Removes an item; references to the removed object can no longer mutate it.

Parameters

item `0 requiredposition: 0

Properties

public virtual Int32 Count { get; } #

Number of items in document order.

public virtual T this[Int32 index] { get; } #

Returns an item by zero-based position.

Parameters

arg1 System.Int32 requiredposition: 0