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. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Exists(String) |
Determines whether the specified Target exists in the TargetCollection. |
GetEnumerator() |
Gets an enumerator that iterates through the TargetCollection. |
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) |
RemoveTarget(Target) |
Removes the specified Target element from the project. |
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. |