ComponentInfoCollection Class

DTF API

Copy image CopyHover image
Deployment Tools Foundation ComponentInfoCollection Class
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerComponentInfoCollection
Accessor for information about components within the context of an installation session.
Declaration Syntax
C# Visual Basic Visual C++ F#
public sealed class ComponentInfoCollection : ICollection<ComponentInfo>, 
	IEnumerable<ComponentInfo>, IEnumerable
Public NotInheritable Class ComponentInfoCollection
	Implements ICollection(Of ComponentInfo), IEnumerable(Of ComponentInfo), 
	IEnumerable
public ref class ComponentInfoCollection sealed : ICollection<ComponentInfo^>, 
	IEnumerable<ComponentInfo^>, IEnumerable
[<SealedAttribute>]
type ComponentInfoCollection =  
    class
        interface ICollection<ComponentInfo>
        interface IEnumerable<ComponentInfo>
        interface IEnumerable
    end
Members
All Members Methods Properties



Icon Member Description
Contains(String)
Checks if the collection contains a component.

CopyTo(array<ComponentInfo>[]()[][], Int32)
Copies the features into an array.

Count
Gets the number of components defined for the product.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
GetEnumerator()()()()
Enumerates the components in the collection.

GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Item[([( String])])
Gets information about a component within the context of an installation session.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Inheritance Hierarchy
Object
ComponentInfoCollection

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)