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.
Namespace: PCBI.AutomationAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public static bool SetAttribute(
IAttributeElement Attribute,
IObject Parent
)
Public Shared Function SetAttribute (
Attribute As IAttributeElement,
Parent As IObject
) As Boolean
public:
static bool SetAttribute(
IAttributeElement^ Attribute,
IObject^ Parent
)
static member SetAttribute :
Attribute : IAttributeElement *
Parent : IObject -> bool
- Attribute IAttributeElement
- The attribute element with checked value.
- Parent IObject
- The object to add the attribute (IODBObject or ICMPObject).
BooleanTrue if the attribute can be added.