RuleSetBasedExportSetPackageState Method
Sets a package state override of the given package. If no override is set for a package the checked state from the rule set definition will be used
Definition
Namespace: Articy.Api
Assembly: ArticyApp (in ArticyApp.dll) Version: 1.0.0
Assembly: ArticyApp (in ArticyApp.dll) Version: 1.0.0
C#
public void SetPackageState(
ObjectProxy aPackage,
bool aEnabled
)Parameters
- aPackage ObjectProxy
- the ObjectProxy that holds the reference to the package
- aEnabled Boolean
- set this value to true to include the package and to falseto exclude it.
Remarks
the SelectedRuleSet property must be set to a valid object or this method will throw an exception