ComponentInfoCollection Class
Accessor for information about components within the context of an installation session.
Methods
| Method | Description |
|---|---|
| Contains(component) | Checks if the collection contains a component. |
| CopyTo(array, arrayIndex) | Copies the features into an array. |
| GetEnumerator() | Enumerates the components in the collection. |
Properties
| Property | Description |
|---|---|
| Count | Gets the number of components defined for the product. |
| Item | Gets information about a component within the context of an installation session. |
WixToolset.Dtf.WindowsInstaller.dll version 5.0.0+41e11442b2ca93e444b60213b5ae99dcbab787d8 |
Contains(component) Method
Checks if the collection contains a component.
Declaration
public bool Contains( string component)Parameters
| Parameter | Type | Description |
|---|---|---|
| component | string | name of the component |
Return value
bool true if the component is in the collection, else false
CopyTo(array, arrayIndex) Method
Copies the features into an array.
Declaration
public void CopyTo( ComponentInfo[] array, int arrayIndex)Parameters
| Parameter | Type | Description |
|---|---|---|
| array | ComponentInfo[] | array that receives the features |
| arrayIndex | int | offset into the array |
GetEnumerator() Method
Enumerates the components in the collection.
Declaration
public IEnumerator<WixToolset.Dtf.WindowsInstaller.ComponentInfo> GetEnumerator()Return value
IEnumerator<WixToolset.Dtf.WindowsInstaller.ComponentInfo> an enumerator over all features in the collection
Count Property
Gets the number of components defined for the product.
Declaration
public int Count { get; set; }Item Property
Gets information about a component within the context of an installation session.
Declaration
public ComponentInfo Item[ string component] { get; set; }Parameters
| Parameter | Type | Description |
|---|---|---|
| component | string | name of the component |