共用方式為


UsingTaskCollection Class

Definition

This class (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution

This class represents a collection of all UsingTask elements in a given project file.

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

Remarks

Warning

This class (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.Construction Microsoft.Build.Evaluation Microsoft.Build.Execution

Properties

Count

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution ICollection member property for returning the number of items in this collection

IsSynchronized

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution

ICollection member property for determining whether this collection is thread-safe

SyncRoot

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution

ICollection member property for returning this collection's synchronization object

Methods

CopyTo(Array, Int32)

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution

ICollection member method for copying the contents of this collection into an array

CopyTo(UsingTask[], Int32)

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution

Copy the contents of this collection into a strongly typed array

GetEnumerator()

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution

IEnumerable member method for returning the enumerator

Applies to