Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ProjectCollection<T>

OfficeIMO.Project

Namespace
OfficeIMO.Project
Assembly
OfficeIMO.Project
Source revision
ba882f6b0d07 with working tree changes
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<T>

Usage

Explore 25 API references to this type

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() #

Creates and appends an item owned by this document.

Returns

T
public IEnumerator<T> GetEnumerator() #

Enumerates items in document order.

Returns

IEnumerator<T>
public bool Remove(T item) #

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

Parameters

item T required

Returns

bool

Properties

public int Count { get; } #

Number of items in document order.

public T this[int index] { get; } #

Returns an item by zero-based position.

Parameters

index int required