Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

TargetCollection Members

Represents a collection of all Target elements in a project.

The TargetCollection type exposes the following members.

  NameDescription
Public method AddNewTarget Adds a new Target element to the end of the project.
Public method CopyTo Copies the entire TargetCollection to a compatible one-dimensional Array, starting at the specified index of the target array.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Exists Determines whether the specified Target exists in the TargetCollection.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEnumerator Gets an enumerator that iterates through the TargetCollection.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method RemoveTarget Removes the specified Target element from the project.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method Cast Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method OfType Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top

  NameDescription
Public property Count Gets a value indicating the number of Target objects in the TargetCollection.
Public property IsSynchronized Gets a value indicating whether access to the TargetCollection is synchronized (thread safe).
Public property Item Gets the specified Target object in the TargetCollection.
Public property SyncRoot Gets an object that can be used to synchronize access to the TargetCollection.
Top

Community Additions

ADD
Show:
© 2015 Microsoft