ImportCollection Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 Import elements in a given project file
public ref class ImportCollection : System::Collections::ICollection
public class ImportCollection : System.Collections.ICollection
type ImportCollection = class
interface IEnumerable
interface ICollection
type ImportCollection = class
interface ICollection
interface IEnumerable
Public Class ImportCollection
Implements ICollection
- Inheritance
-
ImportCollection
- Implements
警告
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
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 |
Is |
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 |
Sync |
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 |
Add |
Adds a new import to the project ,and adds a corresponding <Import> element to the end of the project. |
Copy |
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 |
Copy |
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 |
Get |
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 |
Remove |
Removes an import from the project, and removes the corresponding <Import> element from the project's XML. |