Export (0) Print
Expand All

Installer.Parent Property

Gets or sets the installer containing the collection that this installer belongs to.

Namespace:  System.Configuration.Install
Assembly:  System.Configuration.Install (in System.Configuration.Install.dll)

[<BrowsableAttribute(true)>]
member Parent : Installer with get, set

Property Value

Type: System.Configuration.Install.Installer
An Installer containing the collection that this instance belongs to, or a null reference (Nothing in Visual Basic) if this instance does not belong to a collection.

If this instance of Installer is part of an installer collection, the Parent property is set to the Installer instance that contains the collection. For an example of the use of the Installers collection, see the AssemblyInstaller class.

The Installers property contains a collection of installers. The Install, Commit, Rollback, and Uninstall methods of the Installer class go through the collection of installers and invokes the corresponding method of each installer.

The following example demonstrates the Parent property. The Parent property gets the Installer containing the collection that this Installer belongs to.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft