ImportCollection Class

Definition

Represents a collection of all Import elements in a project.

public ref class ImportCollection : System::Collections::ICollection
public class ImportCollection : System.Collections.ICollection
type ImportCollection = class
    interface ICollection
    interface IEnumerable
type ImportCollection = class
    interface IEnumerable
    interface ICollection
Public Class ImportCollection
Implements ICollection
Inheritance
ImportCollection
Implements

Properties

Count

Gets a value indicating the number of Import objects in the ImportCollection.

IsSynchronized

Gets a value indicating whether access to the ImportCollection is synchronized (thread safe).

SyncRoot

Gets an object that can be used to synchronize access to the ImportCollection.

Methods

AddNewImport(String, String)

Allows hosts to programmatically add a new Import tag to a project file being manipulated by the host.

CopyTo(Array, Int32)

Copies the entire ImportCollection to a compatible one-dimensional Array, starting at the specified index of the target array.

CopyTo(Import[], Int32)

Copies the entire ImportCollection to a compatible one-dimensional Array of Import objects, starting at the specified index of the target array.

GetEnumerator()

Gets an enumerator that iterates through the ImportCollection.

RemoveImport(Import)

Allows hosts to programmatically remove Import tags that are part of a project file being manipulated by the host.

Applies to