InstallPathCollection Class

DTF API

Copy image CopyHover image
Deployment Tools Foundation InstallPathCollection Class
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstaller.PackageInstallPathCollection
Represents a collection of InstallPaths that are the child paths of the same parent directory.
Declaration Syntax
C# Visual Basic Visual C++ F#
public class InstallPathCollection : IList<InstallPath>, 
	ICollection<InstallPath>, IEnumerable<InstallPath>, IEnumerable
Public Class InstallPathCollection
	Implements IList(Of InstallPath), ICollection(Of InstallPath), 
	IEnumerable(Of InstallPath), IEnumerable
public ref class InstallPathCollection : IList<InstallPath^>, 
	ICollection<InstallPath^>, IEnumerable<InstallPath^>, IEnumerable
type InstallPathCollection =  
    class
        interface IList<InstallPath>
        interface ICollection<InstallPath>
        interface IEnumerable<InstallPath>
        interface IEnumerable
    end
Members
All Members Methods Properties



Icon Member Description
Add(InstallPath)
Adds a new child path to the collection.

Clear()()()()
Removes all items from the collection.

Contains(InstallPath)
Tests if the collection contains a child path.

CopyTo(array<InstallPath>[]()[][], Int32)
Copies the collection into an array.

Count
Gets the number of items in the collection.

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()()()()
Gets an enumerator over all items 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.)
IndexOf(InstallPath)
Gets the index of a child path in the collection.

Insert(Int32, InstallPath)
Inserts a child path into the collection.

Item[([( Int32])])
Gets or sets the element at the specified index.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Remove(InstallPath)
Removes a child path to the collection.

RemoveAt(Int32)
Removes an item from the collection.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Inheritance Hierarchy
Object
InstallPathCollection

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