IAttributeSetAttribute(IAttributeElement, IPackageSpecificsD) Method

Set an package attribute to the Parent package specifics. This do not set the "has changed" flag in Step and IPCBIWindow, you can use PackagePropertyOrAttributeHasChanged and NeedToSave to set it manualy.

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public static bool SetAttribute(
	IAttributeElement Attribute,
	IPackageSpecificsD Parent
)

Parameters

Attribute  IAttributeElement
The relevant attribute to set/add it the package.
Parent  IPackageSpecificsD
The package of interest.

Return Value

Boolean
True if the attribute is added.

See Also