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.
Namespace: PCBI.AutomationAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public static bool SetAttribute(
IAttributeElement Attribute,
IPackageSpecificsD Parent
)
Public Shared Function SetAttribute (
Attribute As IAttributeElement,
Parent As IPackageSpecificsD
) As Boolean
public:
static bool SetAttribute(
IAttributeElement^ Attribute,
IPackageSpecificsD^ Parent
)
static member SetAttribute :
Attribute : IAttributeElement *
Parent : IPackageSpecificsD -> bool
- Attribute IAttributeElement
- The relevant attribute to set/add it the package.
- Parent IPackageSpecificsD
- The package of interest.
BooleanTrue if the attribute is added.