Share via


UsingTaskCollection Class

Represents a collection of all UsingTask elements in a project.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Inheritance Hierarchy

System.Object
  Microsoft.Build.BuildEngine.UsingTaskCollection

Namespace:  Microsoft.Build.BuildEngine
Assembly:  Microsoft.Build.Engine (in Microsoft.Build.Engine.dll)

Syntax

'Declaration
Public Class UsingTaskCollection _
    Implements IEnumerable, ICollection
public class UsingTaskCollection : IEnumerable, 
    ICollection
public ref class UsingTaskCollection : IEnumerable, 
    ICollection
type UsingTaskCollection =  
    class 
        interface IEnumerable 
        interface ICollection 
    end
public class UsingTaskCollection implements IEnumerable, ICollection

The UsingTaskCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets a value indicating the number of UsingTask objects in the UsingTaskCollection.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Public property IsSynchronized Gets a value indicating whether access to the UsingTaskCollection is synchronized (thread safe).MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Public property SyncRoot Gets an object that can be used to synchronize access to the UsingTaskCollection.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Top

Methods

  Name Description
Public method CopyTo(Array, Int32) Copies the entire UsingTaskCollection to a compatible one-dimensional Array, starting at the specified index of the target array.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Public method CopyTo(array<UsingTask[], Int32) Copies the entire UsingTaskCollection to a compatible one-dimensional Array of UsingTask objects, starting at the specified index of the target array.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Gets an enumerator that iterates through the UsingTaskCollection.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Build.BuildEngine Namespace