FileReferenceCollection Class
Represents a collection for manifest file references.
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.Tasks.Deployment.ManifestUtilities.FileReferenceCollection
Namespace: Microsoft.Build.Tasks.Deployment.ManifestUtilities
Assembly: Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)
Syntax
'Declaration
<ComVisibleAttribute(False)> _
Public NotInheritable Class FileReferenceCollection _
Implements IEnumerable
[ComVisibleAttribute(false)]
public sealed class FileReferenceCollection : IEnumerable
[ComVisibleAttribute(false)]
public ref class FileReferenceCollection sealed : IEnumerable
[<Sealed>]
[<ComVisibleAttribute(false)>]
type FileReferenceCollection =
class
interface IEnumerable
end
public final class FileReferenceCollection implements IEnumerable
The FileReferenceCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count | Returns the number of objects contained in the collection.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. | |
Item | Returns the element at the specified index.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 | |
---|---|---|
Add(String) | Adds the specified file reference to the collection.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. | |
Add(FileReference) | Adds the specified file reference to the collection.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. | |
Clear | Removes all objects from the collection.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. | |
Equals | (Inherited from Object.) | |
FindTargetPath | Finds a file reference in the collection by the specified target path.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. | |
GetEnumerator | Returns an enumerator that can iterate through the collection.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. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
Remove | Removes the specified file reference from the collection.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. | |
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.Tasks.Deployment.ManifestUtilities Namespace