IAttributeSetAttribute(IAttributeElement, IObject) Method

Set attribute of parent object, if it is a float attribute the value must be in depending unit! E.g. "comp_height" use Inch and "spo_s_val" mils.

Definition

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

Parameters

Attribute  IAttributeElement
The attribute element with checked value.
Parent  IObject
The object to add the attribute (IODBObject or ICMPObject).

Return Value

Boolean
True if the attribute can be added.

See Also