TargetCollection Class

Definition

Represents a collection of all Target elements in a project.

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

Properties

Count

Gets a value indicating the number of Target objects in the TargetCollection.

IsSynchronized

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

Item[String]

Gets the specified Target object in the TargetCollection.

SyncRoot

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

Methods

AddNewTarget(String)

Adds a new Target element to the end of the project.

CopyTo(Array, Int32)

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

Exists(String)

Determines whether the specified Target exists in the TargetCollection.

GetEnumerator()

Gets an enumerator that iterates through the TargetCollection.

RemoveTarget(Target)

Removes the specified Target element from the project.

Applies to