ComponentInstallation Class

DTF API

Copy image CopyHover image
Deployment Tools Foundation ComponentInstallation Class
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerComponentInstallation
Represents an instance of a registered component.
Declaration Syntax
C# Visual Basic Visual C++ F#
public class ComponentInstallation : InstallationPart
Public Class ComponentInstallation
	Inherits InstallationPart
public ref class ComponentInstallation : public InstallationPart
type ComponentInstallation =  
    class
        inherit InstallationPart
    end
Members
All Members Constructors Methods Properties



Icon Member Description
ComponentInstallation(String)
Creates a new ComponentInstallation, automatically detecting the product that the component is a part of.

ComponentInstallation(String, String, UserContexts)
Creates a new ComponentInstallation, automatically detecting the product that the component is a part of.

ComponentInstallation(String, String)
Creates a new ComponentInstallation for a component installed by a specific product.

ComponentInstallation(String, String, String, UserContexts)
Creates a new ComponentInstallation for a component installed by a specific product.

AllComponents
Gets the set of installed components for all products.

ClientProducts
Gets all client products of a specified component.

ComponentCode
Gets the component code (GUID) of the component.

Components(String, UserContexts)
Gets the set of installed components for products in the indicated context.

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.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Path
Gets the full path to an installed component. If the key path for the component is a registry key then the registry key is returned.

Product
Gets the product that this item is a part of.
(Inherited from InstallationPart.)
Qualifiers
Gets the set of registered qualifiers for the component.

State
Gets the installed state of a component.
(Overrides InstallationPart.State.)
ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Inheritance Hierarchy
Object
InstallationPart
  ComponentInstallation

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