TargetCollection Třída
Definice
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
- Dědičnost
-
TargetCollection
- Implementuje
Vlastnosti
Count |
Získává hodnotu určující počet Target objektů v TargetCollection .Gets a value indicating the number of Target objects in the TargetCollection. |
IsSynchronized |
Načte hodnotu, která označuje, jestli se má synchronizovat přístup k aplikaci (bezpečné pro přístup z TargetCollection více vláken).Gets a value indicating whether access to the TargetCollection is synchronized (thread safe). |
Item[String] |
Získá zadaný Target objekt v TargetCollection .Gets the specified Target object in the TargetCollection. |
SyncRoot |
Získává objekt, který lze použít k synchronizaci přístupu k TargetCollection .Gets an object that can be used to synchronize access to the TargetCollection. |
Metody
AddNewTarget(String) |
Přidá nový element target na konec projektu.Adds a new Target element to the end of the project. |
CopyTo(Array, Int32) |
Zkopíruje celý TargetCollection na kompatibilní jednorozměrné Array , počínaje zadaným indexem cílového pole.Copies the entire TargetCollection to a compatible one-dimensional Array, starting at the specified index of the target array. |
Equals(Object) |
Určí, zda se zadaný objekt rovná aktuálnímu objektu.Determines whether the specified object is equal to the current object. (Zděděno od Object) |
Exists(String) |
Určuje, zda zadaný parametr Target existuje v TargetCollection .Determines whether the specified Target exists in the TargetCollection. |
GetEnumerator() |
Získá enumerátor, který projde TargetCollection .Gets an enumerator that iterates through the TargetCollection. |
GetHashCode() |
Slouží jako výchozí funkce hash.Serves as the default hash function. (Zděděno od Object) |
GetType() |
Získá Type aktuální instanci.Gets the Type of the current instance. (Zděděno od Object) |
MemberwiseClone() |
Vytvoří kopii aktuálního seznamu Object .Creates a shallow copy of the current Object. (Zděděno od Object) |
RemoveTarget(Target) |
Odebere zadaný element target z projektu.Removes the specified Target element from the project. |
ToString() |
Vrátí řetězec, který představuje aktuální objekt.Returns a string that represents the current object. (Zděděno od Object) |
Metody rozšíření
Cast<TResult>(IEnumerable) |
Přetypování prvky IEnumerable na zadaný typ.Casts the elements of an IEnumerable to the specified type. |
OfType<TResult>(IEnumerable) |
Filtruje prvky IEnumerable založené na zadaném typu.Filters the elements of an IEnumerable based on a specified type. |
AsParallel(IEnumerable) |
Povoluje paralelní zpracování dotazu.Enables parallelization of a query. |
AsQueryable(IEnumerable) |
Převede IEnumerable na IQueryable .Converts an IEnumerable to an IQueryable. |