ProductCollection Class
Definition
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 contains a collection of Product objects. This collection is a closed set that is generated by the BootstrapperBuilder based on the Path property. The client cannot add or remove items from this collection.
This API supports the product infrastructure and is not intended to be used directly from your code.
public ref class ProductCollection : Microsoft::Build::Tasks::Deployment::Bootstrapper::IProductCollection, System::Collections::IEnumerable
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("EFFA164B-3E87-4195-88DB-8AC004DDFE2A")]
public class ProductCollection : Microsoft.Build.Tasks.Deployment.Bootstrapper.IProductCollection, System.Collections.IEnumerable
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("EFFA164B-3E87-4195-88DB-8AC004DDFE2A")>]
type ProductCollection = class
interface IProductCollection
interface IEnumerable
Public Class ProductCollection
Implements IEnumerable, IProductCollection
- Inheritance
-
ProductCollection
- Attributes
- Implements
Properties
| Count |
This API supports the product infrastructure and is not intended to be used directly from your code. Gets the number of elements actually contained in the ProductCollection |
Methods
| Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
| GetEnumerator() |
This API supports the product infrastructure and is not intended to be used directly from your code. Returns an enumerator that can iterate through the ProductCollection |
| GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
| GetType() |
Gets the Type of the current instance. (Inherited from Object) |
| Item(Int32) |
This API supports the product infrastructure and is not intended to be used directly from your code. Gets the Product at the specified index. |
| MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
| Product(String) |
This API supports the product infrastructure and is not intended to be used directly from your code. Gets the product with the specified product code |
| ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Extension Methods
| Cast<TResult>(IEnumerable) |
Casts the elements of an IEnumerable to the specified type. |
| OfType<TResult>(IEnumerable) |
Filters the elements of an IEnumerable based on a specified type. |
| AsParallel(IEnumerable) |
Enables parallelization of a query. |
| AsQueryable(IEnumerable) |
Converts an IEnumerable to an IQueryable. |