Attributes Property

Microsoft Deployment Compression & Installer

Copy image CopyHover image
Deployment Tools Foundation Attributes Property
Gets or sets the attributes of the feature.
Declaration Syntax
C# Visual Basic Visual C++
public FeatureAttributes Attributes { get; set; }
Public Property Attributes As FeatureAttributes
	Get
	Set
public:
property FeatureAttributes Attributes {
	FeatureAttributes get ();
	void set (FeatureAttributes value);
}
Property Value
Remarks

Win32 MSI APIs: MsiGetFeatureInfo, MsiSetFeatureAttributes

Since the lpAttributes paramter of MsiGetFeatureInfo does not contain an equivalent flag for UIDisallowAbsent, this flag will not be retrieved.

Since the dwAttributes parameter of MsiSetFeatureAttributes does not contain an equivalent flag for UIDisallowAbsent, the presence of this flag will be ignored.

Exceptions
Exception Condition
InvalidHandleException the Session handle is invalid
ArgumentException an unknown feature was requested

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