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 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.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetEnumerator()

Gets an enumerator that iterates through the ImportCollection.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
RemoveImport(Import)

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

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Extension Methods

Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to